mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-03 16:03:40 +02:00
gio/tests: Use g_list_free_full() convenience function
This commit is contained in:
@@ -926,8 +926,7 @@ dmp_data_free (DmpData *data)
|
||||
g_main_loop_unref (data->loop);
|
||||
g_main_context_unref (data->context);
|
||||
g_object_unref (data->server);
|
||||
g_list_foreach (data->connections, (GFunc) g_object_unref, NULL);
|
||||
g_list_free (data->connections);
|
||||
g_list_free_full (data->connections, g_object_unref);
|
||||
g_free (data);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user