From 163c326c82a45c1f3ee84bbfaee2cc2e6dc1fafc Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 2 Jan 2009 13:46:16 +0000 Subject: [PATCH] [test] Free test name Adding the missing free for the converted test name. --- test/cairo-test.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/cairo-test.c b/test/cairo-test.c index 24d693dc5..6dca6f845 100644 --- a/test/cairo-test.c +++ b/test/cairo-test.c @@ -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);