aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
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;