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:
d238f08
)
auparse: Fix event memory leak
author
Vineeth TM
<vineeth.tm@samsung.com>
Mon, 19 Oct 2015 08:38:32 +0000
(17:38 +0900)
committer
Tim-Philipp Müller
<tim@centricular.com>
Mon, 19 Oct 2015 09:30:24 +0000
(10:30 +0100)
Free the event after being handled to prevent memory leak.
https://bugzilla.gnome.org/show_bug.cgi?id=756799
gst/auparse/gstauparse.c
patch
|
blob
|
history
diff --git
a/gst/auparse/gstauparse.c
b/gst/auparse/gstauparse.c
index
c4319cb
..
6e6d929
100644
(file)
--- a/
gst/auparse/gstauparse.c
+++ b/
gst/auparse/gstauparse.c
@@
-756,6
+756,7
@@
gst_au_parse_src_event (GstPad * pad, GstObject * parent, GstEvent * event)
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_SEEK:
ret = gst_au_parse_handle_seek (auparse, event);
+ gst_event_unref (event);
break;
default:
ret = gst_pad_event_default (pad, parent, event);