diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-import-dialog.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/empathy-import-dialog.c b/src/empathy-import-dialog.c index e31a8c4eb..464e119e6 100644 --- a/src/empathy-import-dialog.c +++ b/src/empathy-import-dialog.c @@ -431,12 +431,11 @@ import_dialog_tree_model_foreach (GtkTreeModel *model, COL_ACCOUNT_DATA, &data, -1); - if (!to_import) - return FALSE; - - if (!import_dialog_add_account (data)) - dialog->not_imported = TRUE; + if (to_import) + if (!import_dialog_add_account (data)) + dialog->not_imported = TRUE; + import_dialog_account_data_free (data); return FALSE; } |