[Webkit-unassigned] [Bug 30419] NPN_UserAgent leaks an NSString

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 21 16:35:38 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=30419





--- Comment #4 from Dan Webb <dwebb at google.com>  2009-10-21 16:35:38 PDT ---
Hmm, I assumed that the string was owned by npapi, since the docs didn't
mention anything about handing off ownership of the C string.
<http://developer.mozilla.org/en/NPN_UserAgent>

I googled around a bit and found some example code that doesn't free the
string:
<https://developer.mozilla.org/en/Gecko_Plugin_API_Reference/Initialization_and_Destruction#Initialize_and_Shutdown_Example>

-- 
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