diff options
Diffstat (limited to 'addressbook/gui/component/addressbook-migrate.c')
-rw-r--r-- | addressbook/gui/component/addressbook-migrate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addressbook/gui/component/addressbook-migrate.c b/addressbook/gui/component/addressbook-migrate.c index 0cd48cf62b..4076e04de0 100644 --- a/addressbook/gui/component/addressbook-migrate.c +++ b/addressbook/gui/component/addressbook-migrate.c @@ -291,6 +291,9 @@ migrate_contacts (MigrationContext *context, EBook *old_book, EBook *new_book) dialog_set_progress (context, (double)num_added / num_contacts); } + + g_list_foreach (contacts, (GFunc)g_object_unref, NULL); + g_list_free (contacts); } static void |