[empathy/gnome-3-6] empathy-call: Free the FsElementAddedNotifiers on fs-conference-removed



commit ae68582193e0d4f49153fd426d5a9eb33d8e0d39
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 8318720..f49901b 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -2446,6 +2446,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]