Closed
Bug 890239
Opened 11 years ago
Closed 11 years ago
nsSystemTimeChangeObserver::RemoveWindowListenerImpl leaks the weak reference
Categories
(Core :: DOM: Device Interfaces, defect)
Core
DOM: Device Interfaces
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: Ms2ger, Assigned: ehsan.akhgari)
Details
(Keywords: memory-leak)
Attachments
(1 file)
1015 bytes,
patch
|
justin.lebar+bug
:
review+
|
Details | Diff | Splinter Review |
NS_GetWeakReference returns an already-addrefed raw pointer, which isn't released. Prefer do_GetWeakReference.
Comment 1•11 years ago
|
||
Ccing code author and reviewer...
Flags: needinfo?(slee)
Flags: needinfo?(justin.lebar+bug)
Assignee | ||
Comment 2•11 years ago
|
||
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #771367 -
Flags: review?(justin.lebar+bug)
Comment 3•11 years ago
|
||
Comment on attachment 771367 [details] [diff] [review] Patch (v1) r=me; thanks for catching this.
Attachment #771367 -
Flags: review?(justin.lebar+bug) → review+
Updated•11 years ago
|
Flags: needinfo?(slee)
Flags: needinfo?(justin.lebar+bug)
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/60eb83902698
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/60eb83902698
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in
before you can comment on or make changes to this bug.
Description
•