aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-11-07 19:37:12 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-11-08 04:07:19 +0800
commit945df143a94c9c64c925591e09e6dd28c43408ff (patch)
treedc0bb789eef1223905cbc0a8afb3125bfb7c0e06 /src
parent4d72a7a6977aadd395f5c96977ab0a1db303cb46 (diff)
downloadgsoc2013-empathy-945df143a94c9c64c925591e09e6dd28c43408ff.tar
gsoc2013-empathy-945df143a94c9c64c925591e09e6dd28c43408ff.tar.gz
gsoc2013-empathy-945df143a94c9c64c925591e09e6dd28c43408ff.tar.bz2
gsoc2013-empathy-945df143a94c9c64c925591e09e6dd28c43408ff.tar.lz
gsoc2013-empathy-945df143a94c9c64c925591e09e6dd28c43408ff.tar.xz
gsoc2013-empathy-945df143a94c9c64c925591e09e6dd28c43408ff.tar.zst
gsoc2013-empathy-945df143a94c9c64c925591e09e6dd28c43408ff.zip
call: Fix GstCaps leak
Diffstat (limited to 'src')
-rw-r--r--src/empathy-video-src.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/empathy-video-src.c b/src/empathy-video-src.c
index cd7a3af19..3b9e6f8fc 100644
--- a/src/empathy-video-src.c
+++ b/src/empathy-video-src.c
@@ -465,6 +465,7 @@ empathy_video_src_set_resolution (GstElement *src,
NULL);
g_object_set (priv->capsfilter, "caps", caps, NULL);
+ gst_caps_unref (caps);
gst_bin_add (GST_BIN (src), priv->src);
/* We as the bin own the source again, so drop the temporary ref */