tsdemux: Set currentlist to NULL after free.
authorJulian Scheel <julian@jusst.de>
Tue, 17 Apr 2012 13:44:07 +0000 (15:44 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 18 Apr 2012 07:30:22 +0000 (09:30 +0200)
This prevents double free of currentlist is some circumstances.

gst/mpegtsdemux/tsdemux.c

index 96eb75c..51aebd9 100644 (file)
@@ -1563,6 +1563,7 @@ beach:
   stream->nbpending = 0;
   stream->current = NULL;
   stream->currentit = NULL;
+  stream->currentlist = NULL;
   stream->expected_size = 0;
   stream->current_size = 0;