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:
Sebastian Pölsterl 2009-07-08 15:26:07 +02:00 committed by Sebastian Dröge
parent 4266fd443a
commit fc80a08e44

View file

@ -1912,9 +1912,6 @@ mpegts_packetizer_remove_stream (MpegTSPacketizer * packetizer, gint16 pid)
GST_INFO ("Removing stream for PID %d", pid);
g_hash_table_remove (packetizer->streams, GINT_TO_POINTER ((gint) pid));
g_object_unref (stream->section_adapter);
g_free (stream);
}
}