diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-05-17 16:12:12 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-05-18 21:40:10 +0800 |
commit | 4a5169bf01a7a67bfa08b2d596c6d4f5e92a73b6 (patch) | |
tree | 8bf2af2ae280749bae299e0a41119a2665aadc5e | |
parent | 259126957650f1c28abdbc101636fe5cbca03f48 (diff) | |
download | gsoc2013-empathy-4a5169bf01a7a67bfa08b2d596c6d4f5e92a73b6.tar gsoc2013-empathy-4a5169bf01a7a67bfa08b2d596c6d4f5e92a73b6.tar.gz gsoc2013-empathy-4a5169bf01a7a67bfa08b2d596c6d4f5e92a73b6.tar.bz2 gsoc2013-empathy-4a5169bf01a7a67bfa08b2d596c6d4f5e92a73b6.tar.lz gsoc2013-empathy-4a5169bf01a7a67bfa08b2d596c6d4f5e92a73b6.tar.xz gsoc2013-empathy-4a5169bf01a7a67bfa08b2d596c6d4f5e92a73b6.tar.zst gsoc2013-empathy-4a5169bf01a7a67bfa08b2d596c6d4f5e92a73b6.zip |
use g_list_free_full()
-rw-r--r-- | src/empathy-invite-participant-dialog.c | 3 |
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); |