Closed
Bug 369423
Opened 17 years ago
Closed 17 years ago
XULSortServiceImpl leaks array of contentSortInfo
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
People
(Reporter: peterv, Assigned: peterv)
References
Details
(Keywords: memory-leak)
Attachments
(1 file)
8.56 KB,
patch
|
enndeakin
:
review+
sicking
:
superreview+
|
Details | Diff | Splinter Review |
ULSortServiceImpl puts a number of contentSortInfo's in a nsTArray<contentSortInfo*> and then never deletes them. Each of the contentSortInfo structs holds three nsCOMPtr's. Simply replacing nsTArray<contentSortInfo*> with nsTArray<contentSortInfo> fixes the leak.
Attachment #254098 -
Flags: superreview?(jonas)
Attachment #254098 -
Flags: review?(enndeakin)
Attachment #254098 -
Flags: superreview?(jonas) → superreview+
Updated•17 years ago
|
Attachment #254098 -
Flags: review?(enndeakin) → review+
Assignee | ||
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•