From 4a5169bf01a7a67bfa08b2d596c6d4f5e92a73b6 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 17 May 2011 10:12:12 +0200 Subject: use g_list_free_full() --- src/empathy-invite-participant-dialog.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/empathy-invite-participant-dialog.c') diff --git a/src/empathy-invite-participant-dialog.c b/src/empathy-invite-participant-dialog.c index 379b23121..a7b1a3600 100644 --- a/src/empathy-invite-participant-dialog.c +++ b/src/empathy-invite-participant-dialog.c @@ -210,8 +210,7 @@ filter_func (GtkTreeModel *model, } } - g_list_foreach (members, (GFunc) g_object_unref, NULL); - g_list_free (members); + g_list_free_full (members, g_object_unref); out: tp_clear_object (&individual); -- cgit v1.2.3