diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-11-19 05:41:57 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-11-19 05:41:57 +0800 |
commit | fd58a674e245d5290954bdd6ccd212ee2bd60dbe (patch) | |
tree | e129a38d3d93889e4607e0a0023b88b166760b9e | |
parent | 78b5e27b077c54b962069b4171aa972961b1183e (diff) | |
download | gsoc2013-evolution-fd58a674e245d5290954bdd6ccd212ee2bd60dbe.tar gsoc2013-evolution-fd58a674e245d5290954bdd6ccd212ee2bd60dbe.tar.gz gsoc2013-evolution-fd58a674e245d5290954bdd6ccd212ee2bd60dbe.tar.bz2 gsoc2013-evolution-fd58a674e245d5290954bdd6ccd212ee2bd60dbe.tar.lz gsoc2013-evolution-fd58a674e245d5290954bdd6ccd212ee2bd60dbe.tar.xz gsoc2013-evolution-fd58a674e245d5290954bdd6ccd212ee2bd60dbe.tar.zst gsoc2013-evolution-fd58a674e245d5290954bdd6ccd212ee2bd60dbe.zip |
Don't leak the message objects.
2003-11-18 Jeffrey Stedfast <fejj@ximian.com>
* em-migrate.c (em_migrate_dir): Don't leak the message objects.
svn path=/trunk/; revision=23428
-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; |