aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-12-03 19:05:39 +0800
committerMilan Crha <mcrha@redhat.com>2012-12-03 19:05:39 +0800
commit09893a473bebc1a1e607aedd12245f735d93deff (patch)
treefaa10828d466af9b2f144981fa7fcc0444c9bf75 /mail
parent329faa083dee9bca4d04d5aa6a332856522b7b79 (diff)
downloadgsoc2013-evolution-09893a473bebc1a1e607aedd12245f735d93deff.tar
gsoc2013-evolution-09893a473bebc1a1e607aedd12245f735d93deff.tar.gz
gsoc2013-evolution-09893a473bebc1a1e607aedd12245f735d93deff.tar.bz2
gsoc2013-evolution-09893a473bebc1a1e607aedd12245f735d93deff.tar.lz
gsoc2013-evolution-09893a473bebc1a1e607aedd12245f735d93deff.tar.xz
gsoc2013-evolution-09893a473bebc1a1e607aedd12245f735d93deff.tar.zst
gsoc2013-evolution-09893a473bebc1a1e607aedd12245f735d93deff.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 fcb99edfa5..27055208bd 100644
--- a/mail/e-mail-backend.c
+++ b/mail/e-mail-backend.c
@@ -454,6 +454,9 @@ mail_backend_folder_deleted_cb (MailFolderCache *folder_cache,
e_source_mail_composition_get_drafts_folder (
E_SOURCE_MAIL_COMPOSITION (extension));
+ if (!drafts_folder_uri)
+ continue;
+
if (class->equal_folder_name (drafts_folder_uri, uri)) {
GError *error = NULL;