diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2009-04-19 23:35:32 +0800 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2009-04-21 16:42:14 +0800 |
commit | 657019a4f3afcf3fbc5f543a414ab9936a80b716 (patch) | |
tree | 4a317b0d36e78a3a9efda121d1bdb6fe057e4c28 /libempathy/empathy-tp-chat.c | |
parent | ca4f02f71b08a1f761f2313a8fb3767a137bfa72 (diff) | |
download | gsoc2013-empathy-657019a4f3afcf3fbc5f543a414ab9936a80b716.tar gsoc2013-empathy-657019a4f3afcf3fbc5f543a414ab9936a80b716.tar.gz gsoc2013-empathy-657019a4f3afcf3fbc5f543a414ab9936a80b716.tar.bz2 gsoc2013-empathy-657019a4f3afcf3fbc5f543a414ab9936a80b716.tar.lz gsoc2013-empathy-657019a4f3afcf3fbc5f543a414ab9936a80b716.tar.xz gsoc2013-empathy-657019a4f3afcf3fbc5f543a414ab9936a80b716.tar.zst gsoc2013-empathy-657019a4f3afcf3fbc5f543a414ab9936a80b716.zip |
Fix memleak in empathy_tp_chat_acknowledge_messages. Unref message after it has
been removed from the message queue.
Diffstat (limited to 'libempathy/empathy-tp-chat.c')
-rw-r--r-- | libempathy/empathy-tp-chat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c index ef0ac6c2d..048f5b275 100644 --- a/libempathy/empathy-tp-chat.c +++ b/libempathy/empathy-tp-chat.c @@ -1393,6 +1393,7 @@ empathy_tp_chat_acknowledge_messages (EmpathyTpChat *chat, guint id = empathy_message_get_id (message); g_array_append_val (message_ids, id); } + g_object_unref (message); } if (message_ids->len > 0) |