forked from AuroraMiddleware/gtk
Merge branch 'test-leak-fixes' into 'master'
testsuite: Fix a few memory leaks See merge request GNOME/gtk!3947
This commit is contained in:
commit
878c9da736
@ -165,12 +165,14 @@ main (int argc, char *argv[])
|
||||
{
|
||||
char *path = g_strdup_printf ("/fnmatch/test%d", i);
|
||||
g_test_add_data_func (path, &tests[i], test_fnmatch);
|
||||
g_free (path);
|
||||
}
|
||||
|
||||
for (int i = 0; i < G_N_ELEMENTS (citests); i++)
|
||||
{
|
||||
char *path = g_strdup_printf ("/ci-glob/test%d", i);
|
||||
g_test_add_data_func (path, &citests[i], test_ci_glob);
|
||||
g_free (path);
|
||||
}
|
||||
|
||||
return g_test_run ();
|
||||
|
@ -602,6 +602,8 @@ test14 (void)
|
||||
run_test (commands, G_N_ELEMENTS (commands), 0);
|
||||
|
||||
g_free (fill);
|
||||
g_free (fill_after);
|
||||
g_free (fill_after_2);
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user