mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-21 22:59:16 +02: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);
|
data.use_this_flag, data.use_this_type);
|
||||||
test_data = g_memdup2 (&data, sizeof (TestParamImplementData));
|
test_data = g_memdup2 (&data, sizeof (TestParamImplementData));
|
||||||
g_test_add_data_func_full (test_path, test_data, test_param_implement_child, g_free);
|
g_test_add_data_func_full (test_path, test_data, test_param_implement_child, g_free);
|
||||||
|
g_free (test_data);
|
||||||
g_free (test_path);
|
g_free (test_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user