projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34586e0
)
gdppay: Fix buffer memory leak
author
Vineeth TM
<vineeth.tm@samsung.com>
Tue, 15 Dec 2015 23:52:12 +0000
(08:52 +0900)
committer
Sebastian Dröge
<sebastian@centricular.com>
Wed, 16 Dec 2015 08:40:39 +0000
(09:40 +0100)
outbuffer being allocated is not being pushed to queue for EOS event and hence
should be freed.
https://bugzilla.gnome.org/show_bug.cgi?id=759519
gst/gdp/gstgdppay.c
patch
|
blob
|
history
diff --git
a/gst/gdp/gstgdppay.c
b/gst/gdp/gstgdppay.c
index
8a8d593
..
b428462
100644
(file)
--- a/
gst/gdp/gstgdppay.c
+++ b/
gst/gdp/gstgdppay.c
@@
-577,6
+577,8
@@
gst_gdp_pay_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
flowret = gst_gdp_queue_buffer (this, outbuffer);
if (flowret != GST_FLOW_OK)
goto push_error;
+ } else {
+ gst_buffer_unref (outbuffer);
}
done: