aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/importers/mail-importer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/importers/mail-importer.c b/mail/importers/mail-importer.c
index ac432b58ef..a8f8d72abc 100644
--- a/mail/importers/mail-importer.c
+++ b/mail/importers/mail-importer.c
@@ -272,7 +272,7 @@ mail_importer_import_mbox_sync (EMailSession *session,
m->path = g_strdup (path);
m->uri = g_strdup (folderuri);
if (cancellable)
- m->base.cancellable = cancellable;
+ m->base.cancellable = g_object_ref (cancellable);
cancellable = m->base.cancellable;