Closed Bug 1349129 Opened 5 years ago Closed 5 years ago

[CID 1403176] [CID 1403178] Resource leaks in TestBlankVideoDataCreator.cpp

Categories

(Core :: Audio/Video: Playback, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: JamesCheng, Assigned: JamesCheng)

Details

Attachments

(1 file)

It seems we forget to delete the raw pointer created by 

RefPtr<MediaData> data = creater.Create(new MediaRawData());

I'll try to fix it
Attachment #8849463 - Flags: review?(jwwang)
Comment on attachment 8849463 [details]
Bug 1349129 - Fix CID 1403176 and CID 1403178 for memory leak.

https://reviewboard.mozilla.org/r/122246/#review124744
Attachment #8849463 - Flags: review?(jwwang) → review+
Thanks for review
Pushed by jacheng@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/af2774677142
Fix CID 1403176 and CID 1403178 for memory leak. r=jwwang
https://hg.mozilla.org/mozilla-central/rev/af2774677142
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.