[evolution] Memory leak fix in em_folder_tree_get_selected_folder
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Memory leak fix in em_folder_tree_get_selected_folder
- Date: Tue, 7 Sep 2010 09:04:09 +0000 (UTC)
commit ba5bb60860c0e0eff92cd7d2c4ae098fa107c331
Author: Milan Crha <mcrha redhat com>
Date: Tue Sep 7 11:03:39 2010 +0200
Memory leak fix in em_folder_tree_get_selected_folder
mail/em-folder-tree.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index 5464088..1e86f40 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]