[empathy] individual_store_name_sort_func: don't leak names
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] individual_store_name_sort_func: don't leak names
- Date: Thu, 18 Nov 2010 14:21:49 +0000 (UTC)
commit 5594d66040047febc79e85fb99af61abcb3c8a39
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu Nov 18 14:18:05 2010 +0100
individual_store_name_sort_func: don't leak names
libempathy-gtk/empathy-individual-store.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-individual-store.c b/libempathy-gtk/empathy-individual-store.c
index ce2eacf..dbea416 100644
--- a/libempathy-gtk/empathy-individual-store.c
+++ b/libempathy-gtk/empathy-individual-store.c
@@ -1513,6 +1513,8 @@ individual_store_name_sort_func (GtkTreeModel *model,
tp_clear_object (&individual_a);
tp_clear_object (&individual_b);
+ g_free (name_a);
+ g_free (name_b);
return ret_val;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]