From: Sjoerd Simons Date: Mon, 7 Nov 2011 11:37:12 +0000 (+0000) Subject: call: Fix GstCaps leak X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=945df143a94c9c64c925591e09e6dd28c43408ff call: Fix GstCaps leak --- diff --git a/src/empathy-video-src.c b/src/empathy-video-src.c index cd7a3af1..3b9e6f8f 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 */