aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/e-mail-backend.c')
-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;