diff options
author | Sushma Rai <rsushma@src.gnome.org> | 2005-07-15 14:47:34 +0800 |
---|---|---|
committer | Sushma Rai <rsushma@src.gnome.org> | 2005-07-15 14:47:34 +0800 |
commit | 551e234d4956820652aea13b1f345e810c4ce974 (patch) | |
tree | 59d7a02eedc25bdcf7a60042d1eea606f799d4d2 /addressbook/gui/component/addressbook-migrate.c | |
parent | ef9df4d2a34a887c1ba2f17cfd5d5eb4c71e1e73 (diff) | |
download | gsoc2013-evolution-551e234d4956820652aea13b1f345e810c4ce974.tar.gz gsoc2013-evolution-551e234d4956820652aea13b1f345e810c4ce974.tar.zst gsoc2013-evolution-551e234d4956820652aea13b1f345e810c4ce974.zip |
Unrefing the query.
svn path=/trunk/; revision=29774
Diffstat (limited to 'addressbook/gui/component/addressbook-migrate.c')
-rw-r--r-- | addressbook/gui/component/addressbook-migrate.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/addressbook/gui/component/addressbook-migrate.c b/addressbook/gui/component/addressbook-migrate.c index 4b6e81ef1e..ea5c92a263 100644 --- a/addressbook/gui/component/addressbook-migrate.c +++ b/addressbook/gui/component/addressbook-migrate.c @@ -248,6 +248,7 @@ migrate_contacts (MigrationContext *context, EBook *old_book, EBook *new_book) /* both books are loaded, start the actual migration */ e_book_get_contacts (old_book, query, &contacts, NULL); + e_book_query_unref (query); num_contacts = g_list_length (contacts); for (l = contacts; l; l = l->next) { @@ -844,8 +845,8 @@ migrate_contact_lists_for_local_folders (MigrationContext *context, ESourceGroup } query = e_book_query_any_field_contains (""); - e_book_get_contacts (book, query, &contacts, NULL); + e_book_query_unref (query); num_converted = 0; num_contacts = g_list_length (contacts); @@ -919,8 +920,8 @@ migrate_company_phone_for_local_folders (MigrationContext *context, ESourceGroup } query = e_book_query_any_field_contains (""); - e_book_get_contacts (book, query, &contacts, NULL); + e_book_query_unref (query); num_converted = 0; num_contacts = g_list_length (contacts); |