aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-11-24 18:57:59 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-11-24 18:57:59 +0800
commit74f2bf579605389d30cc8fab50c7718f666ca7ee (patch)
tree2d2aefc97a1232da852465f17a1e32db11a3a789 /libempathy-gtk
parent13b07c1ae1c92c9b0a431576f6c78c95a46060fb (diff)
downloadgsoc2013-empathy-74f2bf579605389d30cc8fab50c7718f666ca7ee.tar
gsoc2013-empathy-74f2bf579605389d30cc8fab50c7718f666ca7ee.tar.gz
gsoc2013-empathy-74f2bf579605389d30cc8fab50c7718f666ca7ee.tar.bz2
gsoc2013-empathy-74f2bf579605389d30cc8fab50c7718f666ca7ee.tar.lz
gsoc2013-empathy-74f2bf579605389d30cc8fab50c7718f666ca7ee.tar.xz
gsoc2013-empathy-74f2bf579605389d30cc8fab50c7718f666ca7ee.tar.zst
gsoc2013-empathy-74f2bf579605389d30cc8fab50c7718f666ca7ee.zip
chat_log_filter: don't leak EmpathyMessage
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-chat.c1
1 files changed, 1 insertions, 0 deletions
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;
}
}