From 0ba1baf5d891bf70a16591d819f3c86fe0309b6a Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Tue, 22 Jun 2004 00:45:47 +0000 Subject: gtk_tree_model_get on a string field allocates the return value. free 2004-06-21 Chris Toshok * em-folder-tree.c (render_display_name): gtk_tree_model_get on a string field allocates the return value. free name. svn path=/trunk/; revision=26448 --- mail/ChangeLog | 5 +++++ mail/em-folder-tree.c | 1 + 2 files changed, 6 insertions(+) diff --git a/mail/ChangeLog b/mail/ChangeLog index 73a4a1624b..47f9395c79 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2004-06-21 Chris Toshok + + * em-folder-tree.c (render_display_name): gtk_tree_model_get on a + string field allocates the return value. free name. + 2004-06-21 Radek Doulik * em-junk-filter.c (em_junk_sa_test_spamd): make sure we test for diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index e524b17df8..16fcfb6c38 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -321,6 +321,7 @@ render_display_name (GtkTreeViewColumn *column, GtkCellRenderer *renderer, NULL); g_free (display); + g_free (name); } static gboolean -- cgit v1.2.3