mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 15:38:53 +00:00
mpegtsdemux: Fix double free
The hash table already makes sure that the stream is correctly free'd when elements are removed. Fixes bug #587819.
This commit is contained in:
parent
4266fd443a
commit
fc80a08e44
1 changed files with 0 additions and 3 deletions
|
@ -1912,9 +1912,6 @@ mpegts_packetizer_remove_stream (MpegTSPacketizer * packetizer, gint16 pid)
|
||||||
GST_INFO ("Removing stream for PID %d", pid);
|
GST_INFO ("Removing stream for PID %d", pid);
|
||||||
|
|
||||||
g_hash_table_remove (packetizer->streams, GINT_TO_POINTER ((gint) pid));
|
g_hash_table_remove (packetizer->streams, GINT_TO_POINTER ((gint) pid));
|
||||||
|
|
||||||
g_object_unref (stream->section_adapter);
|
|
||||||
g_free (stream);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue