aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-02-12 03:43:53 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-02-12 03:43:53 +0800
commit21cc0bdd7c16538ba49dfa0809ad643aa0cec91c (patch)
treed320a9a8f1eda90b6fe0dd2c3762cd7ad468c76b
parent9c2e004953dae519e22df6236dcc1a389a17b49c (diff)
downloadgsoc2013-empathy-21cc0bdd7c16538ba49dfa0809ad643aa0cec91c.tar
gsoc2013-empathy-21cc0bdd7c16538ba49dfa0809ad643aa0cec91c.tar.gz
gsoc2013-empathy-21cc0bdd7c16538ba49dfa0809ad643aa0cec91c.tar.bz2
gsoc2013-empathy-21cc0bdd7c16538ba49dfa0809ad643aa0cec91c.tar.lz
gsoc2013-empathy-21cc0bdd7c16538ba49dfa0809ad643aa0cec91c.tar.xz
gsoc2013-empathy-21cc0bdd7c16538ba49dfa0809ad643aa0cec91c.tar.zst
gsoc2013-empathy-21cc0bdd7c16538ba49dfa0809ad643aa0cec91c.zip
Fix pad leak
From: Olivier CrĂȘte <olivier.crete@collabora.co.uk> Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2441
-rw-r--r--src/empathy-call-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index b0a805cea..dbeda722e 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -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