aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-11-24 23:01:02 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-11-24 23:01:02 +0800
commit0894474e8cfed8dfa4824205a9d43e76269b50b0 (patch)
treea37b7b64284d8bcf6c5878e82aab3bc3b7d39e84
parent69afcc40e1fb02956b8ee0fad404b9afc776f64e (diff)
downloadgsoc2013-empathy-0894474e8cfed8dfa4824205a9d43e76269b50b0.tar
gsoc2013-empathy-0894474e8cfed8dfa4824205a9d43e76269b50b0.tar.gz
gsoc2013-empathy-0894474e8cfed8dfa4824205a9d43e76269b50b0.tar.bz2
gsoc2013-empathy-0894474e8cfed8dfa4824205a9d43e76269b50b0.tar.lz
gsoc2013-empathy-0894474e8cfed8dfa4824205a9d43e76269b50b0.tar.xz
gsoc2013-empathy-0894474e8cfed8dfa4824205a9d43e76269b50b0.tar.zst
gsoc2013-empathy-0894474e8cfed8dfa4824205a9d43e76269b50b0.zip
log_window_get_messages_for_date: don't leak chat_id and account
-rw-r--r--libempathy-gtk/empathy-log-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c
index 9f6006473..650c3b442 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