[empathy: 4/6] chat-manager: don't leak proxy



commit 583dbd45639081ea4c760b81a4e2cc5c8137192e
Author: Jonny Lamb <jonnylamb gnome org>
Date:   Wed May 18 14:23:24 2011 +0100

    chat-manager: don't leak proxy
    
    Signed-off-by: Jonny Lamb <jonnylamb gnome org>

 src/empathy-chat-manager.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-chat-manager.c b/src/empathy-chat-manager.c
index 36f9512..86a2853 100644
--- a/src/empathy-chat-manager.c
+++ b/src/empathy-chat-manager.c
@@ -521,5 +521,6 @@ empathy_chat_manager_call_undo_closed_chat (void)
 
   emp_cli_chat_manager_call_undo_closed_chat (proxy, -1, NULL, NULL, NULL, NULL);
 
+  g_object_unref (proxy);
   g_object_unref (dbus_daemon);
 }



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