From ba5bb60860c0e0eff92cd7d2c4ae098fa107c331 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 7 Sep 2010 11:03:39 +0200 Subject: Memory leak fix in em_folder_tree_get_selected_folder --- mail/em-folder-tree.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail/em-folder-tree.c') diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index 54640889e2..1e86f40a78 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -2716,6 +2716,8 @@ em_folder_tree_get_selected_folder (EMFolderTree *folder_tree) folder = camel_store_get_folder ( store, full_name, CAMEL_STORE_FOLDER_INFO_FAST, NULL); + g_free (full_name); + return folder; } -- cgit