From 6f63991ad6e1bd00ceeb9ee2b3be5db37748b688 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Fri, 17 Oct 2008 12:48:01 +0000 Subject: Call import_dialog_account_data_free to actually free the account data after being processed. (Jonny Lamb) Signed-off-by: Jonny Lamb svn path=/trunk/; revision=1634 --- src/empathy-import-dialog.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3