summaryrefslogtreecommitdiff
path: root/testsuite/gtk/fnmatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gtk/fnmatch.c')
-rw-r--r--testsuite/gtk/fnmatch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/gtk/fnmatch.c b/testsuite/gtk/fnmatch.c
index e16bdae016..25bbc7b0e6 100644
--- a/testsuite/gtk/fnmatch.c
+++ b/testsuite/gtk/fnmatch.c
@@ -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 ();