diff options
-rw-r--r-- | src/empathy-import-dialog.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/empathy-import-dialog.c b/src/empathy-import-dialog.c index 955e07b9c..58e4be6b8 100644 --- a/src/empathy-import-dialog.c +++ b/src/empathy-import-dialog.c @@ -99,6 +99,11 @@ import_dialog_add_account (EmpathyImportAccountData *data) GValue *username; account = mc_account_create (data->profile); + if (account == NULL) + { + DEBUG ("Failed to create account"); + return; + } g_hash_table_iter_init (&iter, data->settings); while (g_hash_table_iter_next (&iter, &key, &value)) |