From aab6f6264221e20f631cbb44c9bf9edc79b33e79 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 21 Jul 2004 15:54:00 +0000 Subject: Free uri and name strings. Fixes a leak. 2004-07-19 Jeffrey Stedfast * em-migrate.c (em_migrate_folder): Free uri and name strings. Fixes a leak. svn path=/trunk/; revision=26688 --- mail/ChangeLog | 5 +++++ mail/em-migrate.c | 2 ++ 2 files changed, 7 insertions(+) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index de893a4422..0b03500f6e 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2004-07-19 Jeffrey Stedfast + + * em-migrate.c (em_migrate_folder): Free uri and name + strings. Fixes a leak. + 2004-07-13 Jeffrey Stedfast * em-folder-view.c (emfv_message_reply): Chck that the selection diff --git a/mail/em-migrate.c b/mail/em-migrate.c index 40dcea652d..6ffcb08e5e 100644 --- a/mail/em-migrate.c +++ b/mail/em-migrate.c @@ -1736,6 +1736,8 @@ em_migrate_folder(EMMigrateSession *session, const char *dirname, const char *fu } res = 0; fatal: + g_free (uri); + g_free (name); g_string_free(src, TRUE); g_string_free(dest, TRUE); if (local_store) -- cgit