Closed Bug 397149 Opened 17 years ago Closed 17 years ago

nsCSSValueList leak with invalid value for "content" property

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla1.9beta1

People

(Reporter: jruderman, Assigned: dbaron)

Details

(Keywords: memory-leak, testcase)

Attachments

(2 files)

Attached file testcase
Loading the testcase with XPCOM_MEM_LEAK_LOG=2 (and then quitting) shows a nsCSSValueList leak.  Reduced from layout/reftests/bugs/378535-1.html.
Flags: in-testsuite+
OS: Mac OS X → All
Priority: -- → P3
Hardware: PC → All
Target Milestone: --- → mozilla1.9 M9
Attached patch patchSplinter Review
Assignee: nobody → dbaron
Status: NEW → ASSIGNED
Attachment #281967 - Flags: superreview?(bzbarsky)
Attachment #281967 - Flags: review?(bzbarsky)
Comment on attachment 281967 [details] [diff] [review]
patch

r+sr=bzbarsky, though maybe we should toss in some nsAutoPtr use here...
Attachment #281967 - Flags: superreview?(bzbarsky)
Attachment #281967 - Flags: superreview+
Attachment #281967 - Flags: review?(bzbarsky)
Attachment #281967 - Flags: review+
Fix checked in to trunk.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: