From: Guillaume Desmottes Date: Wed, 24 Nov 2010 15:01:02 +0000 (+0100) Subject: log_window_get_messages_for_date: don't leak chat_id and account X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=0894474e8cfed8dfa4824205a9d43e76269b50b0 log_window_get_messages_for_date: don't leak chat_id and account --- diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c index 9f600647..650c3b44 100644 --- a/libempathy-gtk/empathy-log-window.c +++ b/libempathy-gtk/empathy-log-window.c @@ -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