diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-09-08 02:39:06 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-09-08 02:39:06 +0800 |
commit | 646590a8c73292994ce063c9ad826a9794b90f20 (patch) | |
tree | 4b35827cff08164268380f633472b96f2b9f60ca /mail/mail-ops.c | |
parent | e6dd871ad745483444c5ce8361a9b02313ee5a8b (diff) | |
download | gsoc2013-evolution-646590a8c73292994ce063c9ad826a9794b90f20.tar.gz gsoc2013-evolution-646590a8c73292994ce063c9ad826a9794b90f20.tar.zst gsoc2013-evolution-646590a8c73292994ce063c9ad826a9794b90f20.zip |
Don't free uids, let the camel folder do that when it gets finalized
2000-09-07 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (do_fetch_mail): Don't free uids, let the camel
folder do that when it gets finalized
svn path=/trunk/; revision=5237
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r-- | mail/mail-ops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 8a18bd8ea5..d4592aa251 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -162,10 +162,13 @@ do_fetch_mail (gpointer in_data, gpointer op_data, CamelException *ex) for (i = 0; i < uids->len; i++) { CamelMimeMessage *message; + mail_tool_camel_lock_up (); message = camel_folder_get_message (folder, uids->pdata[i], ex); + fprintf (stderr, "about to run the filter\n"); filter_driver_run (filter, message, input->destination, FILTER_SOURCE_INCOMING, TRUE, input->hook_func, input->hook_data); + mail_tool_camel_lock_down (); if (!input->keep_on_server) { guint32 flags; @@ -176,11 +179,8 @@ do_fetch_mail (gpointer in_data, gpointer op_data, CamelException *ex) ~flags); } camel_object_unref (CAMEL_OBJECT (message)); - g_free (uids->pdata[i]); } - g_ptr_array_free (uids, TRUE); - data->empty = FALSE; } mail_tool_camel_lock_down (); |