aboutsummaryrefslogtreecommitdiffstats
path: root/mail/importers
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-09-20 06:37:34 +0800
committerIain Holmes <iain@src.gnome.org>2001-09-20 06:37:34 +0800
commit1ab05cd14d7f096e8970d9425c3271dc7122895a (patch)
tree44a17b90908d03bb7f43091522b82a966639b864 /mail/importers
parenta9f3442cf0af4fbc46aa60971ea02ba799bc5701 (diff)
downloadgsoc2013-evolution-1ab05cd14d7f096e8970d9425c3271dc7122895a.tar.gz
gsoc2013-evolution-1ab05cd14d7f096e8970d9425c3271dc7122895a.tar.zst
gsoc2013-evolution-1ab05cd14d7f096e8970d9425c3271dc7122895a.zip
Fix memory leak
svn path=/trunk/; revision=12997
Diffstat (limited to 'mail/importers')
-rw-r--r--mail/importers/evolution-mbox-importer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/importers/evolution-mbox-importer.c b/mail/importers/evolution-mbox-importer.c
index 07dc4b7eb1..a4773d8c07 100644
--- a/mail/importers/evolution-mbox-importer.c
+++ b/mail/importers/evolution-mbox-importer.c
@@ -270,6 +270,7 @@ load_file_fn (EvolutionImporter *eimporter,
fullpath = e_path_to_physical (homedir, folderpath);
ex = camel_exception_new ();
importer->folder = mail_tool_uri_to_folder (fullpath, ex);
+ g_free (homedir);
if (camel_exception_is_set (ex) || importer->folder == NULL) {
/* Make a new directory */