]> git.0d.be Git - empathy.git/commitdiff
log_window_get_messages_for_date: don't leak chat_id and account
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 24 Nov 2010 15:01:02 +0000 (16:01 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 24 Nov 2010 15:01:02 +0000 (16:01 +0100)
libempathy-gtk/empathy-log-window.c

index 9f6006473e9648906cbe3c333566b99e4a8fc0a3..650c3b4422bb2f09b9fe0d05793e14374db339c8 100644 (file)
@@ -1119,6 +1119,9 @@ log_window_get_messages_for_date (EmpathyLogWindow *window,
       date,
       log_window_got_messages_for_date_cb,
       (gpointer) window);
+
+  g_free (chat_id);
+  g_object_unref (account);
 }
 
 static void