projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2503e67
)
tsdemux: Set currentlist to NULL after free.
author
Julian Scheel
<julian@jusst.de>
Tue, 17 Apr 2012 13:44:07 +0000
(15:44 +0200)
committer
Sebastian 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
patch
|
blob
|
history
diff --git
a/gst/mpegtsdemux/tsdemux.c
b/gst/mpegtsdemux/tsdemux.c
index
96eb75c
..
51aebd9
100644
(file)
--- a/
gst/mpegtsdemux/tsdemux.c
+++ b/
gst/mpegtsdemux/tsdemux.c
@@
-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;