mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-03 22:10:17 +01:00
[test] Free test name
Adding the missing free for the converted test name.
This commit is contained in:
parent
dd65be740c
commit
163c326c82
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue