aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-filter-driver.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-02-26 04:11:07 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-02-26 04:11:07 +0800
commit6db6379e350eb77cd0b099bc97c43dee1a869ce3 (patch)
treeda6ce37ba1bf76be55c5471e8962c6a6fe4c58f5 /camel/camel-filter-driver.c
parent82355d5100fddbfd0646e73db7d1105d75f44e0f (diff)
downloadgsoc2013-evolution-6db6379e350eb77cd0b099bc97c43dee1a869ce3.tar.gz
gsoc2013-evolution-6db6379e350eb77cd0b099bc97c43dee1a869ce3.tar.zst
gsoc2013-evolution-6db6379e350eb77cd0b099bc97c43dee1a869ce3.zip
Free the uids *after* reporting Complete, otherwise we get an FMR if our
2004-02-25 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-driver.c (camel_filter_driver_filter_folder): Free the uids *after* reporting Complete, otherwise we get an FMR if our caller didn't pass in the uids. * camel-sasl-gssapi.c (gssapi_challenge): #ifdef out another gss_release_buffer() call as this function causes memory corruption if using Heimdal's implementation of Kerberos5. Yay Heimdal. svn path=/trunk/; revision=24872
Diffstat (limited to 'camel/camel-filter-driver.c')
-rw-r--r--camel/camel-filter-driver.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/camel-filter-driver.c b/camel/camel-filter-driver.c
index 1282188eb0..33eae9e843 100644
--- a/camel/camel-filter-driver.c
+++ b/camel/camel-filter-driver.c
@@ -1250,9 +1250,6 @@ camel_filter_driver_filter_folder (CamelFilterDriver *driver, CamelFolder *folde
camel_uid_cache_save_uid (cache, uids->pdata[i]);
}
- if (freeuids)
- camel_folder_free_uids (folder, uids);
-
if (p->defaultfolder) {
report_status (driver, CAMEL_FILTER_STATUS_PROGRESS, 100, _("Syncing folder"));
camel_folder_sync (p->defaultfolder, FALSE, camel_exception_is_set (ex) ? NULL : ex);
@@ -1261,6 +1258,9 @@ camel_filter_driver_filter_folder (CamelFilterDriver *driver, CamelFolder *folde
if (i == uids->len)
report_status (driver, CAMEL_FILTER_STATUS_END, 100, _("Complete"));
+ if (freeuids)
+ camel_folder_free_uids (folder, uids);
+
g_free (source_url);
return status;