GNOME Bugzilla – Bug 334700
[qtdemux] Memory leaks
Last modified: 2006-03-16 06:36:59 UTC
It looks like qtdemux doesn't properly handle creating its pads. The attached patch is an attempt to correct this.
Created attachment 61323 [details] [review] Properly unref static templates
already fixed in CVS. 2006-03-15 Edward Hervey <edward@fluendo.com> * gst/qtdemux/qtdemux.c: (gst_qtdemux_class_init), (gst_qtdemux_init), (gst_qtdemux_dispose), (gst_qtdemux_add_stream), (qtdemux_parse_trak): Series of memleak fixes: - Unref the GstAdapter in finalize. - Use gst_pad_new_from_static_template(), shorter and safer. - Free unused QtDemuxStream when not used.