Closed
Bug 827684
Opened 11 years ago
Closed 11 years ago
Memory leak of OmxDecoder if Init fails on Android
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: cajbir, Assigned: drexler)
Details
Attachments
(1 file)
1.01 KB,
patch
|
cajbir
:
review+
|
Details | Diff | Splinter Review |
media/omx-plugin/OmxPlugin.cpp has the following in CreateDecoder: OmxDecoder *omx = new OmxDecoder(aPluginHost, aDecoder); if (!omx || !omx->Init()) return false; This will leak an instance of OmxDecoder if the allocation is successful but the Init call is not.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #730185 -
Flags: review?(chris.double)
Reporter | ||
Updated•11 years ago
|
Attachment #730185 -
Flags: review?(chris.double) → review+
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → andrew.quartey
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•11 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/7d1b8ee0e1bd
Comment 3•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/7d1b8ee0e1bd
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in
before you can comment on or make changes to this bug.
Description
•