diff options
Diffstat (limited to 'plugins/bbdb/bbdb.c')
-rw-r--r-- | plugins/bbdb/bbdb.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/bbdb/bbdb.c b/plugins/bbdb/bbdb.c index c6e60b005a..26d1e48d27 100644 --- a/plugins/bbdb/bbdb.c +++ b/plugins/bbdb/bbdb.c @@ -301,7 +301,7 @@ bbdb_do_it (EBookClient *client, status = e_book_client_get_contacts_sync (client, query_string, &contacts, NULL, NULL); g_free (query_string); if (contacts != NULL || !status) { - e_client_util_free_object_slist (contacts); + g_slist_free_full (contacts, (GDestroyNotify) g_object_unref); g_free (temp_name); return; @@ -329,7 +329,9 @@ bbdb_do_it (EBookClient *client, * name, just give up; we're not smart enough for * this. */ if (!status || contacts->next != NULL) { - e_client_util_free_object_slist (contacts); + g_slist_free_full ( + contacts, + (GDestroyNotify) g_object_unref); g_free (temp_name); return; } @@ -341,7 +343,7 @@ bbdb_do_it (EBookClient *client, g_error_free (error); } - e_client_util_free_object_slist (contacts); + g_slist_free_full (contacts, (GDestroyNotify) g_object_unref); g_free (temp_name); return; } |