mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
gobject/tests/param: Fix a memory leak
This commit is contained in:
parent
5e356d90b2
commit
6e46edea5b
@ -905,6 +905,7 @@ main (int argc, char *argv[])
|
||||
data.use_this_flag, data.use_this_type);
|
||||
test_data = g_memdup2 (&data, sizeof (TestParamImplementData));
|
||||
g_test_add_data_func_full (test_path, test_data, test_param_implement_child, g_free);
|
||||
g_free (test_data);
|
||||
g_free (test_path);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user