qtdemux: Fix leak on QtDemuxStreamStsdEntry

Fix unit test failure

https://bugzilla.gnome.org/show_bug.cgi?id=781362
This commit is contained in:
Seungha Yang 2017-04-16 18:47:56 +09:00 committed by Tim-Philipp Müller
parent e51c08b0a2
commit 3b9ea4b85f

View file

@ -2536,6 +2536,7 @@ gst_qtdemux_stream_free (GstQTDemux * qtdemux, QtDemuxStream * stream)
gst_element_remove_pad (GST_ELEMENT_CAST (qtdemux), stream->pad); gst_element_remove_pad (GST_ELEMENT_CAST (qtdemux), stream->pad);
gst_flow_combiner_remove_pad (qtdemux->flowcombiner, stream->pad); gst_flow_combiner_remove_pad (qtdemux->flowcombiner, stream->pad);
} }
g_free (stream->stsd_entries);
g_free (stream); g_free (stream);
} }