[empathy/gnome-2-34] Unref the entity when we're done



commit c8a06b2f3d3e090c9a86212ab0e1cd5b4a89eb65
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date:   Thu Feb 24 10:14:53 2011 +0000

    Unref the entity when we're done

 libempathy-gtk/empathy-chat.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 0b49fe9..c464e82 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -2020,6 +2020,8 @@ chat_add_logs (EmpathyChat *chat)
 						   chat,
 						   got_filtered_messages_cb,
 						   (gpointer) chat);
+
+	g_object_unref (target);
 }
 
 static gint



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