[empathy/gnome-3-8] debug-window: fix messages array leak



commit e23e2b8330f63207867224ab96ef11b2aedf9cfc
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Jun 10 10:07:33 2013 +0200

    debug-window: fix messages array leak
    
    https://bugzilla.gnome.org/show_bug.cgi?id=701914

 src/empathy-debug-window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-debug-window.c b/src/empathy-debug-window.c
index 37640f6..0a1d7f7 100644
--- a/src/empathy-debug-window.c
+++ b/src/empathy-debug-window.c
@@ -410,6 +410,7 @@ debug_window_get_messages_cb (GObject *object,
           COL_PROXY, debug,
           -1);
     }
+  g_ptr_array_unref (messages);
 
   g_free (proxy_service_name);
 


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