summaryrefslogtreecommitdiffstats
path: root/sys/glsink/gstgldownload.c
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2007-12-24 21:26:40 +0000
committerDavid Schleef <ds@schleef.org>2007-12-24 21:26:40 +0000
commit9222358367f769105de122803bddfe49f6c680e4 (patch)
treecdda424efe7a7a27d44d74f1ae12241653a19561 /sys/glsink/gstgldownload.c
parent6899b8bb6d8ef5b3a0e5b702595f2a0cb28a194d (diff)
downloadgst-plugins-bad-9222358367f769105de122803bddfe49f6c680e4.tar.gz
gst-plugins-bad-9222358367f769105de122803bddfe49f6c680e4.tar.bz2
gst-plugins-bad-9222358367f769105de122803bddfe49f6c680e4.zip
sys/glsink/: Clean up code. Fix a few leaks.
Original commit message from CVS: * sys/glsink/gstglbuffer.c: * sys/glsink/gstgldownload.c: * sys/glsink/gstglfilter.c: Clean up code. Fix a few leaks.
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;
}