Open Bug 1441823 Opened 5 years ago Updated 2 months ago

Potential memory leak bug in dom/media/gmp/GMPChild.cpp:555

Categories

(Core :: Audio/Video: GMP, defect, P3)

defect

Tracking

()

People

(Reporter: fan.gang.cn, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Safari/537.36

Steps to reproduce:

Scan the code


Actual results:

"adapter" allocated on line 603 is leaked when mGMPLoader->load returns false on line 606. 

File: dom/media/gmp/GMPChild.cpp:555


Expected results:

delete adapter before exiting.
Based on the code, I'm moving this to Core::A/V:GMP in order to be further triaged.
Component: Untriaged → Audio/Video: GMP
Product: Firefox → Core
This looks like your code Chris. Could you take this?
Status: UNCONFIRMED → NEW
Rank: 21
Ever confirmed: true
Flags: needinfo?(cpearce)
Priority: -- → P3
Technically yes, it leaks, but we shutdown the child process when that happens, so the OS would release the memory for us.
Flags: needinfo?(cpearce)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.