mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
matroskademux: Don't leak allocated index memory
Don't forget to free returned memory from _search_pos()
This commit is contained in:
parent
f054526e6d
commit
022fbe9a46
1 changed files with 2 additions and 0 deletions
|
@ -5320,6 +5320,8 @@ gst_matroska_demux_parse_id (GstMatroskaDemux * demux, guint32 id,
|
||||||
GST_DEBUG_OBJECT (demux,
|
GST_DEBUG_OBJECT (demux,
|
||||||
"estimated duration as %" GST_TIME_FORMAT,
|
"estimated duration as %" GST_TIME_FORMAT,
|
||||||
GST_TIME_ARGS (demux->common.segment.duration));
|
GST_TIME_ARGS (demux->common.segment.duration));
|
||||||
|
|
||||||
|
g_free (last);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue