aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-tools.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-07-07 02:58:48 +0800
committerPeter Williams <peterw@src.gnome.org>2001-07-07 02:58:48 +0800
commit068ae263a05245aa487ffc99bb5e884412043cbc (patch)
treece0b89b86d6511d85cf044604ccc0b775b1f901d /mail/mail-tools.c
parent6e6eb53b37a22580c608585228fdd347f772bb02 (diff)
downloadgsoc2013-evolution-068ae263a05245aa487ffc99bb5e884412043cbc.tar.gz
gsoc2013-evolution-068ae263a05245aa487ffc99bb5e884412043cbc.tar.zst
gsoc2013-evolution-068ae263a05245aa487ffc99bb5e884412043cbc.zip
Don't free the psd here -- it will be freed on the "destroy" signal.
2001-07-06 Peter Williams <peterw@ximian.com> * mail-callbacks.c (composer_postpone_cb): Don't free the psd here -- it will be freed on the "destroy" signal. * mail-folder-cache.c (maybe_update): Instead of an idle, use a very short timeout in hopes of reducing the number of redundant updates. * mail-tools.c (mail_tool_uri_to_folder): Only note the folder in the cache if we successfully got it. svn path=/trunk/; revision=10852
Diffstat (limited to 'mail/mail-tools.c')
-rw-r--r--mail/mail-tools.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-tools.c b/mail/mail-tools.c
index 8ca30bced8..cf140f7643 100644
--- a/mail/mail-tools.c
+++ b/mail/mail-tools.c
@@ -302,10 +302,10 @@ mail_tool_uri_to_folder (const char *uri, CamelException *ex)
camel_object_unref (CAMEL_OBJECT (folder));
folder = NULL;
}
- }
- camel_url_free (url);
+ } else
+ mail_folder_cache_note_folder (uri, folder);
- mail_folder_cache_note_folder (uri, folder);
+ camel_url_free (url);
return folder;
}