[empathy] debug-window: fix proxy leak



commit d646a882bc484bb0b0c839bbecda53fd15ba7af9
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Feb 3 18:23:07 2014 +0100

    debug-window: fix proxy leak
    
    gtk_list_store_get() gives us a new ref.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=692793

 src/empathy-debug-window.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-debug-window.c b/src/empathy-debug-window.c
index b4392c3..0fbf9f6 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


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