mxfdemux: Fix memory leak in error case

https://bugzilla.gnome.org/show_bug.cgi?id=788508
This commit is contained in:
Ponnam Srinivas 2017-10-04 16:29:52 +05:30 committed by Tim-Philipp Müller
parent ddba9e40f2
commit ff0ccc2a11

View file

@ -2261,6 +2261,7 @@ gst_mxf_demux_handle_index_table_segment (GstMXFDemux * demux,
if (!ret) {
GST_ERROR_OBJECT (demux, "Parsing index table segment failed");
g_free (segment);
return GST_FLOW_ERROR;
}