[empathy] log_window_get_messages_for_date: don't leak chat_id and account
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] log_window_get_messages_for_date: don't leak chat_id and account
- Date: Wed, 24 Nov 2010 16:06:24 +0000 (UTC)
commit 0894474e8cfed8dfa4824205a9d43e76269b50b0
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Nov 24 16:01:02 2010 +0100
log_window_get_messages_for_date: don't leak chat_id and account
libempathy-gtk/empathy-log-window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c
index 9f60064..650c3b4 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]