Fix pad leak
authorOlivier Crête <olivier.crete@collabora.co.uk>
Wed, 11 Feb 2009 19:43:53 +0000 (19:43 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Wed, 11 Feb 2009 19:43:53 +0000 (19:43 +0000)
From: Olivier Crête <olivier.crete@collabora.co.uk>
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
svn path=/trunk/; revision=2441

src/empathy-call-window.c

index b0a805cea779e8e5b78c895add3c12b4b9dfdf9f..dbeda722ee22c6a85ebeda4e9f35f5d49b343a7c 100644 (file)
@@ -512,6 +512,8 @@ empathy_call_window_src_added_cb (EmpathyCallHandler *handler,
   gst_element_set_state (element, GST_STATE_PLAYING);
 
   gst_pad_link (src, pad);
+
+  gst_object_unref (pad);
 }
 
 static void