mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
mxfdemux: Fix memory leak in error case
https://bugzilla.gnome.org/show_bug.cgi?id=788508
This commit is contained in:
parent
ddba9e40f2
commit
ff0ccc2a11
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue