Closed Bug 136764 Opened 24 years ago Closed 23 years ago

nsLineBox::DeleteLineList leaks lines

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla1.1alpha

People

(Reporter: dbaron, Assigned: dbaron)

Details

Attachments

(1 file, 1 obsolete file)

nsLineBox::DeleteLineList leaks lines (doesn't free them back to the pres shell's arena) because it does |delete line;| instead of |line->Destroy(shell)|.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.1alpha
This is a little better. This is already within an IsEmpty check, so I can turn the while loop into a do-while, saving one emptiness test.
Attachment #78648 - Attachment is obsolete: true
Comment on attachment 78669 [details] [diff] [review] slightly better patch sr=waterson.
Attachment #78669 - Flags: superreview+
Comment on attachment 78669 [details] [diff] [review] slightly better patch r=attinasi - good catch!
Attachment #78669 - Flags: review+
Fix checked in to trunk 2002-04-13 11:54 PDT.
Not sure how I can verify this. David, can you please change the status of this bug to verified.
Changing Priority to P3.
Priority: -- → P3
Marking fixed, since I don't think I'll bother with this for the branch.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: