aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-07-07 19:16:17 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-07-07 19:17:52 +0800
commit73a55d4cc53e7c679f410dab3a79469ad1b78e5c (patch)
tree0d10ceca037a946e14da71e5edc977b8d746e61f /mail
parentbd6c394e0cdddfcf4c3742fe93531a6d259a962c (diff)
downloadgsoc2013-evolution-73a55d4cc53e7c679f410dab3a79469ad1b78e5c.tar
gsoc2013-evolution-73a55d4cc53e7c679f410dab3a79469ad1b78e5c.tar.gz
gsoc2013-evolution-73a55d4cc53e7c679f410dab3a79469ad1b78e5c.tar.bz2
gsoc2013-evolution-73a55d4cc53e7c679f410dab3a79469ad1b78e5c.tar.lz
gsoc2013-evolution-73a55d4cc53e7c679f410dab3a79469ad1b78e5c.tar.xz
gsoc2013-evolution-73a55d4cc53e7c679f410dab3a79469ad1b78e5c.tar.zst
gsoc2013-evolution-73a55d4cc53e7c679f410dab3a79469ad1b78e5c.zip
Bug 678606 - Crash under mail_backend_folder_deleted_cb()
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-backend.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c
index 075f0b09ac..e0213f6f43 100644
--- a/mail/e-mail-backend.c
+++ b/mail/e-mail-backend.c
@@ -484,6 +484,9 @@ mail_backend_folder_deleted_cb (MailFolderCache *folder_cache,
e_source_mail_submission_get_sent_folder (
E_SOURCE_MAIL_SUBMISSION (extension));
+ if (sent_folder_uri == NULL)
+ continue;
+
if (class->equal_folder_name (sent_folder_uri, uri)) {
GError *error = NULL;