Closed
Bug 530138
Opened 15 years ago
Closed 15 years ago
npruntime sample plugin not using NPN_MemAlloc when it should
Categories
(Core Graveyard :: Plug-ins, defect)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jaas, Assigned: jaas)
Details
Attachments
(1 file)
1.35 KB,
patch
|
Details | Diff | Splinter Review |
The npruntime sample plugin is not using NPN_MemAlloc when it should. See usage of "strdup" in the sample code.
This is the fix, basically the same fix proposed in the stack overflow discussion:
http://stackoverflow.com/questions/1431409/firefox-npapi-plugin-development-firefox-freeze-when-calling-a-method
pushed to mozilla-central with added "const" for the literal string
http://hg.mozilla.org/mozilla-central/rev/eeceee206420
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•