[empathy/gnome-2-32] 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/gnome-2-32] log_window_get_messages_for_date: don't leak chat_id and account
- Date: Wed, 24 Nov 2010 16:06:44 +0000 (UTC)
commit d533c393c9ce04363f0c02dd8189260b5d9e85a0
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 aa0370b..73a9316 100644
--- a/libempathy-gtk/empathy-log-window.c
+++ b/libempathy-gtk/empathy-log-window.c
@@ -1108,6 +1108,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]