GNOME Bugzilla – Bug 674393
[mpegtsdemux] Memory leaks
Last modified: 2012-04-20 08:51:46 UTC
Created attachment 212360 [details] [review] memory leaks fix patch A lot of objects are leaking from the various mpegtsdemux modules. Attached patch will fix those that I discovered. The patch should apply against both master and 0.10.
Review of attachment 212360 [details] [review]: ::: gst/mpegtsdemux/mpegtsparse.c @@ +253,3 @@ } + + gst_event_unref (event); This looks wrong, gst_pad_push_event() a few lines above steals the reference
Review of attachment 212360 [details] [review]: ::: gst/mpegtsdemux/mpegtsparse.c @@ +253,3 @@ } + + gst_event_unref (event); It is correct. The line before is: gst_event_ref (event);
commit f0632569066e680ef5fb6bf8083f49deacce8565 Author: Gil Pedersen <git@gpost.dk> Date: Thu Apr 19 13:59:37 2012 +0200 mpegtsdemux: fix memory leaks Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674393