diff --git a/test/fallback-resolution.c b/test/fallback-resolution.c index c8b994498..c27ab9057 100644 --- a/test/fallback-resolution.c +++ b/test/fallback-resolution.c @@ -383,6 +383,7 @@ preamble (cairo_test_context_t *ctx) target->name, format); free (base_name); + free (test_name); ret = CAIRO_TEST_FAILURE; continue; } @@ -451,6 +452,7 @@ preamble (cairo_test_context_t *ctx) target->cleanup (closure); free (base_name); + free (test_name); if (pass) { printf ("PASS\n");