[Webkit-unassigned] [Bug 33943] Use fastStrDup instead of strdup
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 21 23:17:40 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=33943
Darin Adler <darin at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |darin at apple.com
--- Comment #9 from Darin Adler <darin at apple.com> 2010-01-21 23:17:38 PST ---
All that stuff I said about OwnPtr is wrong. OwnPtr does a delete, not a free.
So if we wanted to use a smart pointer we'd either need to use a new one or use
OwnArrayPtr and use something like strDup that did new char[] instead of
fastMalloc. Oof. The strdup function isn't so great.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list