]> git.0d.be Git - empathy.git/commitdiff
use g_list_free_full()
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 17 May 2011 08:12:12 +0000 (10:12 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 18 May 2011 13:40:10 +0000 (15:40 +0200)
src/empathy-invite-participant-dialog.c

index 379b23121029c2bf67fc904301f436cf25831020..a7b1a3600ad1cf482f1176b55f136c485b1d61e6 100644 (file)
@@ -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);