aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-09-07 17:03:39 +0800
committerMilan Crha <mcrha@redhat.com>2010-09-07 17:03:39 +0800
commitba5bb60860c0e0eff92cd7d2c4ae098fa107c331 (patch)
tree3d22ba748569a79c8363d860f321855524f96ddb /mail/em-folder-tree.c
parent13241ca42c48609d94a88820cafb907c848d4823 (diff)
downloadgsoc2013-evolution-ba5bb60860c0e0eff92cd7d2c4ae098fa107c331.tar.gz
gsoc2013-evolution-ba5bb60860c0e0eff92cd7d2c4ae098fa107c331.tar.zst
gsoc2013-evolution-ba5bb60860c0e0eff92cd7d2c4ae098fa107c331.zip
Memory leak fix in em_folder_tree_get_selected_folder
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r--mail/em-folder-tree.c2
1 files changed, 2 insertions, 0 deletions
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;
}