projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a0dbff
)
avidemux: fix event leak
author
Vineeth T M
<vineeth.tm@samsung.com>
Wed, 8 Jul 2015 11:31:42 +0000
(20:31 +0900)
committer
Luis de Bethencourt
<luis@debethencourt.com>
Wed, 8 Jul 2015 11:57:43 +0000
(12:57 +0100)
when seek fails in avidemux, event is not being freed.
https://bugzilla.gnome.org/show_bug.cgi?id=752117
gst/avi/gstavidemux.c
patch
|
blob
|
history
diff --git
a/gst/avi/gstavidemux.c
b/gst/avi/gstavidemux.c
index f1797e144cc65dc5971b027c890160cacffd8b4a..f2bebafd091f08597ea927e214c6fdb0d08ad2f1 100644
(file)
--- a/
gst/avi/gstavidemux.c
+++ b/
gst/avi/gstavidemux.c
@@
-5756,8
+5756,10
@@
gst_avi_demux_chain (GstPad * pad, GstObject * parent, GstBuffer * buf)
GST_OBJECT_UNLOCK (avi);
/* calculate and perform seek */
- if (!avi_demux_handle_seek_push (avi, avi->sinkpad, event))
+ if (!avi_demux_handle_seek_push (avi, avi->sinkpad, event)) {
+ gst_event_unref (event);
goto seek_failed;
+ }
gst_event_unref (event);
avi->state = GST_AVI_DEMUX_MOVI;