GNOME Bugzilla – Bug 696606
qtdemux memory leak
Last modified: 2013-03-26 10:27:50 UTC
At qtdemux.c static void qtdemux_tag_add_blob (GNode * node, GstQTDemux * demux) line 8680 //------------------------------- sample = gst_sample_new (buf, NULL, NULL, s); gst_buffer_unref (buf); g_free (media_type); GST_DEBUG_OBJECT (demux, "adding private tag; size %d, info %" GST_PTR_FORMAT, len, s); gst_tag_list_add (demux->tag_list, GST_TAG_MERGE_APPEND, GST_QT_DEMUX_PRIVATE_TAG, sample, NULL); //------------------------------------------ I think the sample should be unref after added to the tag list.
Thanks for the bug report. I believe this is fixed already in the 1.0.6 release: commit 522f006a3c951009b4aa0330c3b11dc8203763d3 Author: Rodolfo Schulz de Lima <rodolfo@rodsoft.org> Date: Fri Mar 22 08:47:17 2013 +0000 qtdemux: fix sample leak when processing private qt tags https://bugzilla.gnome.org/show_bug.cgi?id=696355 *** This bug has been marked as a duplicate of bug 696355 ***