]> git.0d.be Git - empathy.git/commitdiff
call: Fix GstCaps leak
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Mon, 7 Nov 2011 11:37:12 +0000 (11:37 +0000)
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>
Mon, 7 Nov 2011 20:07:19 +0000 (20:07 +0000)
src/empathy-video-src.c

index cd7a3af19bb6757d90241ac35c4d0c03de3ec080..3b9e6f8fc9bce3235d446a7268106e2ee13d3dd1 100644 (file)
@@ -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 */