diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2008-10-17 20:48:01 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-10-17 20:48:01 +0800 |
commit | 6f63991ad6e1bd00ceeb9ee2b3be5db37748b688 (patch) | |
tree | 3af655c431387e5b290a9620e4244c78f0c51abd | |
parent | 267b0d11945a8ee6bbde005e48d11533b24ea1cf (diff) | |
download | gsoc2013-empathy-6f63991ad6e1bd00ceeb9ee2b3be5db37748b688.tar gsoc2013-empathy-6f63991ad6e1bd00ceeb9ee2b3be5db37748b688.tar.gz gsoc2013-empathy-6f63991ad6e1bd00ceeb9ee2b3be5db37748b688.tar.bz2 gsoc2013-empathy-6f63991ad6e1bd00ceeb9ee2b3be5db37748b688.tar.lz gsoc2013-empathy-6f63991ad6e1bd00ceeb9ee2b3be5db37748b688.tar.xz gsoc2013-empathy-6f63991ad6e1bd00ceeb9ee2b3be5db37748b688.tar.zst gsoc2013-empathy-6f63991ad6e1bd00ceeb9ee2b3be5db37748b688.zip |
Call import_dialog_account_data_free to actually free the account data after being processed. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1634
-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; } |