[empathy] call: Fix GstCaps leak



commit 945df143a94c9c64c925591e09e6dd28c43408ff
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Mon Nov 7 11:37:12 2011 +0000

    call: Fix GstCaps leak

 src/empathy-video-src.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-video-src.c b/src/empathy-video-src.c
index cd7a3af..3b9e6f8 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 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]