diff options
author | Not Zed <NotZed@HelixCode.com> | 2000-12-24 09:03:14 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-12-24 09:03:14 +0800 |
commit | fba04bdda76968d230a37b0925fa0d176c755b60 (patch) | |
tree | 758dc853a6f1adfe6421f5211c013dbb82bbbbbe /mail/mail-tools.c | |
parent | 5674966eeb7eecfa109ad419f1c997dba69ff0af (diff) | |
download | gsoc2013-evolution-fba04bdda76968d230a37b0925fa0d176c755b60.tar.gz gsoc2013-evolution-fba04bdda76968d230a37b0925fa0d176c755b60.tar.zst gsoc2013-evolution-fba04bdda76968d230a37b0925fa0d176c755b60.zip |
Merge from camel-mt-branch.
2000-12-24 Not Zed <NotZed@HelixCode.com>
* Merge from camel-mt-branch.
svn path=/trunk/; revision=7153
Diffstat (limited to 'mail/mail-tools.c')
-rw-r--r-- | mail/mail-tools.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/mail-tools.c b/mail/mail-tools.c index 80e9638ce1..0014d48553 100644 --- a/mail/mail-tools.c +++ b/mail/mail-tools.c @@ -284,10 +284,10 @@ mail_tool_move_folder_contents (CamelFolder *source, CamelFolder *dest, gboolean /* Copy the messages */ for (i = 0; i < uids->len; i++) { CamelMimeMessage *msg; - const CamelMessageInfo *info = NULL; + CamelMessageInfo *info = NULL; const gboolean last_message = (i+1 == uids->len); time_t now; - + /* Info */ /* @@ -317,6 +317,9 @@ mail_tool_move_folder_contents (CamelFolder *source, CamelFolder *dest, gboolean if (summary_capability) info = camel_folder_get_message_info (source, uids->pdata[i]); camel_folder_append_message (dest, msg, info, ex); + if (summary_capability) + camel_folder_free_message_info(source, info); + if (camel_exception_is_set (ex)) { camel_object_unref (CAMEL_OBJECT (msg)); goto cleanup; |