diff options
author | Iain Holmes <iain@src.gnome.org> | 2001-09-20 06:37:34 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2001-09-20 06:37:34 +0800 |
commit | 1ab05cd14d7f096e8970d9425c3271dc7122895a (patch) | |
tree | 44a17b90908d03bb7f43091522b82a966639b864 | |
parent | a9f3442cf0af4fbc46aa60971ea02ba799bc5701 (diff) | |
download | gsoc2013-evolution-1ab05cd14d7f096e8970d9425c3271dc7122895a.tar.gz gsoc2013-evolution-1ab05cd14d7f096e8970d9425c3271dc7122895a.tar.zst gsoc2013-evolution-1ab05cd14d7f096e8970d9425c3271dc7122895a.zip |
Fix memory leak
svn path=/trunk/; revision=12997
-rw-r--r-- | mail/ChangeLog | 4 | ||||
-rw-r--r-- | mail/importers/evolution-mbox-importer.c | 1 |
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 */ |