Closed
Bug 1457073
Opened 7 years ago
Closed 7 years ago
Leak in WorkerEventTarget::Dispatch()
Categories
(Core :: DOM: Core & HTML, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla61
| Tracking | Status | |
|---|---|---|
| firefox61 | --- | fixed |
People
(Reporter: baku, Assigned: baku)
References
Details
Attachments
(1 file)
|
997 bytes,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
WorkerEventTarget::Dispatch receives an already_AddRefed<nsIRunnable> parameter, but if mWorkerPrivate is null, it doesn't finish the moving of the runnable:
https://searchfox.org/mozilla-central/rev/78dbe34925f04975f16cb9a5d4938be714d41897/dom/workers/WorkerEventTarget.cpp#101-110
| Assignee | ||
Comment 1•7 years ago
|
||
Attachment #8971150 -
Flags: review?(bugs)
Updated•7 years ago
|
Attachment #8971150 -
Flags: review?(bugs) → review+
Updated•7 years ago
|
Priority: -- → P2
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d50f31ee0a5b
Fix a leak in WorkerEventTarget::Dispatch() about how already_AddRefed<> params are handled, r=smaug
Comment 3•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Updated•7 years ago
|
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•