projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
downloadbuffer, benchmarks: fix error leaks in failure code paths
[platform/upstream/gstreamer.git]
/
plugins
/
elements
/
gstdownloadbuffer.c
diff --git
a/plugins/elements/gstdownloadbuffer.c
b/plugins/elements/gstdownloadbuffer.c
index
3b760e2
..
83c28fa
100644
(file)
--- a/
plugins/elements/gstdownloadbuffer.c
+++ b/
plugins/elements/gstdownloadbuffer.c
@@
-840,6
+840,7
@@
hit_eos:
out_flushing:
{
GST_DEBUG_OBJECT (dlbuf, "we are flushing");
+ g_clear_error (&error);
gst_buffer_unmap (buf, &info);
if (*buffer == NULL)
gst_buffer_unref (buf);