Closed Bug 400081 Opened 18 years ago Closed 18 years ago

Leak gfxFont and gfxTextRun with font-size: 0

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9beta2

People

(Reporter: jruderman, Assigned: cpearce)

References

Details

(Keywords: memory-leak, regression, testcase)

Attachments

(2 files)

Attached file testcase
Steps to reproduce: 1. export XPCOM_MEM_LEAK_LOG=2 2. Run Firefox. 3. Load the testcase. 4. Quit. Result: trace-refcnt reports that instances of the following classes leaked: gfxFont, gfxTextRun, gfxTextRunFactory, nsStringBuffer, nsTArray_base I think this is a regression from within the last week.
Yup, this was me, removing my patch made the leak go away. Taking bug.
Status: NEW → ASSIGNED
Assignee: nobody → chris
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
Blocks: 386065
Added a textrun release on a control path that must have not be being hit before.
Attachment #285273 - Flags: review?(roc)
Attachment #285273 - Flags: superreview+
Attachment #285273 - Flags: review?(roc)
Attachment #285273 - Flags: review+
Attachment #285273 - Flags: approval1.9+
Comment on attachment 285273 [details] [diff] [review] Patch v1 - added a gfxTextRun release rerequest approval when we get out of tree-red state
Attachment #285273 - Flags: approval1.9+ → approval1.9?
Attachment #285273 - Flags: approval1.9? → approval1.9+
Keywords: checkin-needed
Checking in layout/generic/nsTextFrameThebes.cpp; /cvsroot/mozilla/layout/generic/nsTextFrameThebes.cpp,v <-- nsTextFrameThebes.cpp new revision: 3.127; previous revision: 3.126 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9 M10
Flags: in-testsuite?
Reftest checked in.
Flags: in-testsuite? → in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: