]> git.0d.be Git - empathy.git/commitdiff
empathy-call: Free the FsElementAddedNotifiers on fs-conference-removed
authorDebarshi Ray <debarshir@src.gnome.org>
Thu, 18 Oct 2012 08:55:48 +0000 (10:55 +0200)
committerDebarshi Ray <debarshir@src.gnome.org>
Thu, 18 Oct 2012 08:55:48 +0000 (10:55 +0200)
Fixes: https://bugzilla.gnome.org/686314
src/empathy-call-window.c

index d9e60e5bff85f78cad221582f32e9cf440835754..95b01d3d1730c202a433f7b9ab530ffb6f6909e6 100644 (file)
@@ -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);
 }