summaryrefslogtreecommitdiff
path: root/telepathy-glib/base-contact-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'telepathy-glib/base-contact-list.c')
-rw-r--r--telepathy-glib/base-contact-list.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/telepathy-glib/base-contact-list.c b/telepathy-glib/base-contact-list.c
index c247316a1..1168e7427 100644
--- a/telepathy-glib/base-contact-list.c
+++ b/telepathy-glib/base-contact-list.c
@@ -3634,8 +3634,7 @@ tp_base_contact_list_groups_removed (TpBaseContactList *self,
return;
old_members = tp_handle_set_new (self->priv->contact_repo);
- actually_removed = _tp_g_ptr_array_sized_new_with_free_func (n_removed + 1,
- g_free);
+ actually_removed = _tp_g_ptr_array_new_full (n_removed + 1, g_free);
for (i = 0; i < n_removed; i++)
{