debug-window: fix proxy leak
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 3 Feb 2014 17:23:07 +0000 (18:23 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 5 Feb 2014 12:54:06 +0000 (13:54 +0100)
gtk_list_store_get() gives us a new ref.

https://bugzilla.gnome.org/show_bug.cgi?id=692793

src/empathy-debug-window.c

index b4392c3..0fbf9f6 100644 (file)
@@ -348,6 +348,8 @@ proxy_invalidated_cb (TpProxy *proxy,
         gtk_list_store_set (self->priv->service_store, &iter,
             COL_PROXY, NULL,
             -1);
+
+      g_object_unref (stored_proxy);
     }
 
   /* Also, we refresh "All" selection's active buffer since it should not