aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/eab-popup-control.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/widgets/eab-popup-control.c')
-rw-r--r--addressbook/gui/widgets/eab-popup-control.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/addressbook/gui/widgets/eab-popup-control.c b/addressbook/gui/widgets/eab-popup-control.c
index cf2190ea5d..d1592d4627 100644
--- a/addressbook/gui/widgets/eab-popup-control.c
+++ b/addressbook/gui/widgets/eab-popup-control.c
@@ -1046,8 +1046,6 @@ name_only_query_cb (EBook *book, EBookStatus status, GList *contacts, gpointer c
eab_popup_control_no_matches (pop);
} else {
eab_popup_control_ambiguous_email_add (pop, contacts);
- g_list_foreach (contacts, (GFunc)g_object_unref, NULL);
- g_list_free (contacts);
}
}
@@ -1081,9 +1079,6 @@ query_cb (EBook *book, EBookStatus status, GList *contacts, gpointer closure)
eab_popup_control_display_contact (pop, E_CONTACT (contacts->data));
else
eab_popup_control_multiple_matches (pop, contacts);
-
- g_list_foreach (contacts, (GFunc)g_object_unref, NULL);
- g_list_free (contacts);
}
}