[empathy] empathy-call: Free the FsElementAddedNotifiers on fs-conference-removed



commit 82ea0b627e52ea10dbd4645fe4d5b1978e5e7dde
Author: Debarshi Ray <debarshir src gnome org>
Date:   Thu Oct 18 10:55:48 2012 +0200

    empathy-call: Free the FsElementAddedNotifiers on fs-conference-removed
    
    Fixes: https://bugzilla.gnome.org/686314

 src/empathy-call-window.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index d9e60e5..95b01d3 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -2505,6 +2505,9 @@ empathy_call_window_conference_removed_cb (EmpathyCallHandler *handler,
   EmpathyCallWindow *self = EMPATHY_CALL_WINDOW (user_data);
   EmpathyCallWindowPriv *priv = GET_PRIV (self);
 
+  g_list_free_full (priv->notifiers, g_object_unref);
+  priv->notifiers = NULL;
+
   gst_bin_remove (GST_BIN (priv->pipeline), conference);
   gst_element_set_state (conference, GST_STATE_NULL);
 }



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