mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
gio/tests: Use g_list_free_full() convenience function
This commit is contained in:
@@ -75,8 +75,7 @@ test_list (void)
|
||||
g_assert (g_list_find_custom (types, plain, find_mime) != NULL);
|
||||
g_assert (g_list_find_custom (types, xml, find_mime) != NULL);
|
||||
|
||||
g_list_foreach (types, (GFunc)g_free, NULL);
|
||||
g_list_free (types);
|
||||
g_list_free_full (types, g_free);
|
||||
|
||||
g_free (plain);
|
||||
g_free (xml);
|
||||
|
Reference in New Issue
Block a user