From 74f2bf579605389d30cc8fab50c7718f666ca7ee Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 24 Nov 2010 11:57:59 +0100 Subject: chat_log_filter: don't leak EmpathyMessage --- libempathy-gtk/empathy-chat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index a55d53e9d..dc3bb8f69 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -2005,6 +2005,7 @@ chat_log_filter (TplEntry *log, for (; pending; pending = g_list_next (pending)) { if (empathy_message_equal (message, pending->data)) { + g_object_unref (message); return FALSE; } } -- cgit v1.2.3