matroskademux: Don't leak allocated index memory

Don't forget to free returned memory from _search_pos()
This commit is contained in:
Seungha Yang 2018-12-26 20:27:58 +09:00
parent f054526e6d
commit 022fbe9a46

View file

@ -5320,6 +5320,8 @@ gst_matroska_demux_parse_id (GstMatroskaDemux * demux, guint32 id,
GST_DEBUG_OBJECT (demux,
"estimated duration as %" GST_TIME_FORMAT,
GST_TIME_ARGS (demux->common.segment.duration));
g_free (last);
}
}