Bug 33937 - Add fastStrDup to FastMalloc
Summary: Add fastStrDup to FastMalloc
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 33943
  Show dependency treegraph
 
Reported: 2010-01-20 20:40 PST by Kwang Yul Seo
Modified: 2010-01-21 22:05 PST (History)
2 users (show)

See Also:


Attachments
Add fastStrDup to FastMalloc (2.09 KB, patch)
2010-01-20 20:45 PST, Kwang Yul Seo
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kwang Yul Seo 2010-01-20 20:40:50 PST
Add fastStrDup to FastMalloc. The new string returned by fastStrDup is obtained with fastMalloc, and can be freed with fastFree. This makes the memory management more consistent because we don't need to keep strdup allocated pointers and free them with free().
Comment 1 Kwang Yul Seo 2010-01-20 20:45:25 PST
Created attachment 47097 [details]
Add fastStrDup to FastMalloc
Comment 2 Maciej Stachowiak 2010-01-21 00:10:02 PST
Comment on attachment 47097 [details]
Add fastStrDup to FastMalloc

r=me
Comment 3 WebKit Commit Bot 2010-01-21 22:05:53 PST
Comment on attachment 47097 [details]
Add fastStrDup to FastMalloc

Clearing flags on attachment: 47097

Committed r53677: <http://trac.webkit.org/changeset/53677>
Comment 4 WebKit Commit Bot 2010-01-21 22:05:57 PST
All reviewed patches have been landed.  Closing bug.