GNOME Bugzilla – Bug 757859
adaptivedemux: memory leak in adaptive demux src bin
Last modified: 2015-11-10 10:23:54 UTC
The commit ccff3be3ab2e5bffcefc12c80a5edb225801f1b9 introduced a bin element in adaptivedemux. The bin element is holding the urihandler and a queue2 element.
After this change, all adaptive demux tests are leaking memory (some are actually failing, but that is covered in https://bugzilla.gnome.org/show_bug.cgi?id=757776) . The uri_handler and the queue2 element are leaking. The new bin element is not.
I don't know how to debug the reference count in these elements to figure out who is holding the references.
Created attachment 315164 [details] [review]
fix pad memory leak
The memory leak is happening because queue sink pad and uri handler src pad are being referenced but not getting freed.
Review of attachment 315164 [details] [review]:
looks great. Thank you.
Author: Vineeth TM <firstname.lastname@example.org>
Date: Tue Nov 10 10:02:38 2015 +0900
adaptivedemux: Fix pad memory leak.
The static pads got from queue and uri_handler are not being freed
resulting in memory leaks.