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:
419d117
)
queue2: Fixes memory leak on out_flushing error in gst_queue2_create_read.
author
Idar Tollefsen
<itollefs@cisco.com>
Tue, 11 Jan 2011 13:27:35 +0000
(14:27 +0100)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Thu, 7 Apr 2011 19:50:04 +0000
(20:50 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=646972
plugins/elements/gstqueue2.c
patch
|
blob
|
history
diff --git
a/plugins/elements/gstqueue2.c
b/plugins/elements/gstqueue2.c
index
d8c07db
..
db6b7b4
100644
(file)
--- a/
plugins/elements/gstqueue2.c
+++ b/
plugins/elements/gstqueue2.c
@@
-1291,6
+1291,7
@@
gst_queue2_create_read (GstQueue2 * queue, guint64 offset, guint length,
out_flushing:
{
GST_DEBUG_OBJECT (queue, "we are flushing");
+ gst_buffer_unref (buf);
return GST_FLOW_WRONG_STATE;
}
read_error: