diff options
Diffstat (limited to 'mail/em-migrate.c')
-rw-r--r-- | mail/em-migrate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/em-migrate.c b/mail/em-migrate.c index ca5f9c9255..ea727c4601 100644 --- a/mail/em-migrate.c +++ b/mail/em-migrate.c @@ -2853,7 +2853,8 @@ migrate_folders(CamelStore *store, CamelFolderInfo *fi, const char *acc, CamelEx em_migrate_set_folder_name (tmp); g_free (tmp); folder = camel_store_get_folder (store, fi->full_name, 0, ex); - camel_folder_summary_migrate_infos (folder->summary); + if (folder != NULL) + camel_folder_summary_migrate_infos (folder->summary); migrate_folders(store, fi->child, acc, ex); fi = fi->next; } |