diff options
-rw-r--r-- | mail/ChangeLog | 2 | ||||
-rw-r--r-- | mail/em-migrate.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index e14cf9c76d..3098cbb807 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,7 @@ 2003-11-18 Jeffrey Stedfast <fejj@ximian.com> + * em-migrate.c (em_migrate_dir): Don't leak the message objects. + * em-folder-tree.c (em_copy_folders): Execute asynchronously by queueing the copy in another thread. (em_copy_folders__copy): Moved the original logic here. diff --git a/mail/em-migrate.c b/mail/em-migrate.c index 3dbfb760d2..c0e7bc4705 100644 --- a/mail/em-migrate.c +++ b/mail/em-migrate.c @@ -379,6 +379,8 @@ em_migrate_dir (EMMigrateSession *session, const char *dirname, const char *full camel_folder_append_message (new_folder, message, info, NULL, &ex); camel_folder_free_message_info (old_folder, info); + camel_object_unref (message); + if (camel_exception_is_set (&ex)) break; |