The default bug view has changed. See this FAQ.

fix JS_Enumerate leaks

RESOLVED FIXED in mozilla11

Status

()

Core
DOM
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: gal, Assigned: Ms2ger)

Tracking

Trunk
mozilla11
Points:
---
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
JS_Enumerate requires JS_DestroyIdArray to be called otherwise we leak.
(Reporter)

Comment 1

6 years ago
All uses of JS_Enumerate:

http://mxr.mozilla.org/mozilla-central/search?string=JS_Enumerate%28&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=mozilla-central
(Assignee)

Comment 2

5 years ago
Created attachment 576816 [details] [diff] [review]
Patch v1

Seems like only canvas needs a fix.
Assignee: nobody → Ms2ger
Status: NEW → ASSIGNED
Attachment #576816 - Flags: review?(gal)
(Reporter)

Updated

5 years ago
Attachment #576816 - Flags: review?(gal) → review+
(Assignee)

Comment 3

5 years ago
https://hg.mozilla.org/mozilla-central/rev/70211af45bcd
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Flags: in-testsuite-
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla11
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.