diff options
author | Milan Crha <mcrha@redhat.com> | 2010-04-29 22:31:31 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-04-29 22:31:31 +0800 |
commit | ad1b3754f7152ecdf76a9f9ddde2a394c0588800 (patch) | |
tree | 77bb7d474e1829e34cd68ebdc0fae990134f167f /mail/em-composer-utils.c | |
parent | cbd3b67ea03a1c4c4333f88a2bb569df62678645 (diff) | |
download | gsoc2013-evolution-ad1b3754f7152ecdf76a9f9ddde2a394c0588800.tar.gz gsoc2013-evolution-ad1b3754f7152ecdf76a9f9ddde2a394c0588800.tar.zst gsoc2013-evolution-ad1b3754f7152ecdf76a9f9ddde2a394c0588800.zip |
Bug #545505 - Properly free unused message infos periodically
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r-- | mail/em-composer-utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c index 59e4a4545e..653e64b703 100644 --- a/mail/em-composer-utils.c +++ b/mail/em-composer-utils.c @@ -1467,23 +1467,23 @@ em_utils_handle_receipt (CamelFolder *folder, const gchar *uid, CamelMimeMessage return; if (camel_message_info_user_flag(info, "receipt-handled")) { - camel_message_info_free(info); + camel_folder_free_message_info (folder, info); return; } if (msg == NULL) { mail_get_messagex(folder, uid, emu_handle_receipt_message, NULL, mail_msg_unordered_push); - camel_message_info_free(info); + camel_folder_free_message_info (folder, info); return; } if ((addr = camel_medium_get_header((CamelMedium *)msg, "Disposition-Notification-To")) == NULL) { - camel_message_info_free(info); + camel_folder_free_message_info (folder, info); return; } camel_message_info_set_user_flag(info, "receipt-handled", TRUE); - camel_message_info_free(info); + camel_folder_free_message_info (folder, info); account = em_utils_guess_account_with_recipients (msg, folder); |