[test] Free test name

Adding the missing free for the converted test name.
This commit is contained in:
Chris Wilson 2009-01-02 13:46:16 +00:00
parent dd65be740c
commit 163c326c82

View file

@ -246,6 +246,9 @@ cairo_test_fini (cairo_test_context_t *ctx)
cairo_surface_destroy (ctx->ref_image);
cairo_surface_destroy (ctx->ref_image_flattened);
if (ctx->test_name != NULL)
free (ctx->test_name);
if (ctx->own_targets)
cairo_boilerplate_free_targets (ctx->targets_to_test);