Closed Bug 836294 Opened 7 years ago Closed 7 years ago
IMedia Devices (Media Engine Audio Source and Media Engine Video Source) leak after using gum with UI
When using mozGetUserMedia, if the UI is enabled we leak a copy of every media source device and an nsTArray (and perhaps some related objects). We don't see it in the mochitests as they suppress the permission UI. Caused by copying an allocated nsTArray<nsCOMPtr <...> >, which is then dropped on the floor.
Attachment #708131 - Flags: review?(bzbarsky)
Comment on attachment 708131 [details] [diff] [review] Don't drop array of media devices on the floor r=me
Attachment #708131 - Flags: review?(bzbarsky) → review+
Target Milestone: --- → mozilla21
Whiteboard: [getUserMedia][blocking-gum+] → [getUserMedia][blocking-gum+][MemShrink]
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Whiteboard: [getUserMedia][blocking-gum+][MemShrink] → [getUserMedia][blocking-gum+][MemShrink][qa-]
You need to log in before you can comment on or make changes to this bug.