summaryrefslogtreecommitdiffstats
path: root/sys/glsink/gstgldownload.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/glsink/gstgldownload.c')
-rw-r--r--sys/glsink/gstgldownload.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/glsink/gstgldownload.c b/sys/glsink/gstgldownload.c
index eb7ac744..23b45132 100644
--- a/sys/glsink/gstgldownload.c
+++ b/sys/glsink/gstgldownload.c
@@ -250,6 +250,7 @@ gst_gl_download_chain (GstPad * pad, GstBuffer * buf)
gst_pad_push (download->srcpad, GST_BUFFER (outbuf));
+ gst_buffer_unref (buf);
gst_object_unref (download);
return GST_FLOW_OK;
}