aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/importers/evolution-mbox-importer.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 6de164a5d5..b67ef0b888 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,7 @@
+2001-09-12 Iain Holmes <iain@ximian.com>
+
+ * importers/evolution-mbox-importer.c (load_file_fn): Fix memory leak.
+
2001-09-19 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Convert
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 */