Last Comment Bug 648171 - fix JS_Enumerate leaks
: fix JS_Enumerate leaks
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: DOM (show other bugs)
: Trunk
: All All
: -- normal (vote)
: mozilla11
Assigned To: :Ms2ger (⌚ UTC+1/+2)
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-06 17:17 PDT by Andreas Gal :gal
Modified: 2011-11-26 07:38 PST (History)
2 users (show)
Ms2ger: in‑testsuite-
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Patch v1 (2.23 KB, patch)
2011-11-24 12:39 PST, :Ms2ger (⌚ UTC+1/+2)
gal: review+
Details | Diff | Splinter Review

Description Andreas Gal :gal 2011-04-06 17:17:30 PDT
JS_Enumerate requires JS_DestroyIdArray to be called otherwise we leak.
Comment 2 :Ms2ger (⌚ UTC+1/+2) 2011-11-24 12:39:50 PST
Created attachment 576816 [details] [diff] [review]
Patch v1

Seems like only canvas needs a fix.
Comment 3 :Ms2ger (⌚ UTC+1/+2) 2011-11-26 07:38:57 PST
https://hg.mozilla.org/mozilla-central/rev/70211af45bcd

Note You need to log in before you can comment on or make changes to this bug.