aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-invite-participant-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-invite-participant-dialog.c')
-rw-r--r--src/empathy-invite-participant-dialog.c3
1 files changed, 1 insertions, 2 deletions
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);