Commit 4d957e53 authored by Andrey Utkin's avatar Andrey Utkin Committed by Sebastian Dröge

tsdemux: fix memleak of PCROffsetCurrent

https://bugzilla.gnome.org/show_bug.cgi?id=722145
parent 6587e924
......@@ -100,6 +100,8 @@ flush_observations (MpegTSPacketizer2 * packetizer)
gint i;
for (i = 0; i < packetizer->lastobsid; i++) {
if (packetizer->observations[i]->current)
g_slice_free (PCROffsetCurrent, packetizer->observations[i]->current);
g_free (packetizer->observations[i]);
packetizer->observations[i] = NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment