summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-02-03 18:23:07 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-02-05 13:54:06 +0100
commitd646a882bc484bb0b0c839bbecda53fd15ba7af9 (patch)
treeab2cf7c4227eba874c1245a6ffed83235a8c8696 /src
parent7c86586442819aa47a4672671211d31cb8e2461a (diff)
downloadempathy-d646a882bc484bb0b0c839bbecda53fd15ba7af9.tar.gz
debug-window: fix proxy leak
gtk_list_store_get() gives us a new ref. https://bugzilla.gnome.org/show_bug.cgi?id=692793
Diffstat (limited to 'src')
-rw-r--r--src/empathy-debug-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/empathy-debug-window.c b/src/empathy-debug-window.c
index b4392c331..0fbf9f6d0 100644
--- a/src/empathy-debug-window.c
+++ b/src/empathy-debug-window.c
@@ -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