[Webkit-unassigned] [Bug 17199] ElementRareDataMap should use OwnPtr to avoid any possible leaks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 6 14:07:38 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=17199





------- Comment #2 from eric at webkit.org  2008-02-06 14:07 PDT -------
Yeah, I tried.  OwnPtr isn't copyable, thus this didn't work.  There has to be
a solution here though.  Maybe auto_ptr?  There should be construct we can use
to do this safely, and make it *very obvious* when reading the code that the
memory management is correct.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list