mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-02 07:18:05 +02:00
test: do not leak resources
Silence some leak reports by check-valgrind.
This commit is contained in:
parent
8fda4ab1cc
commit
291876ad34
1 changed files with 1 additions and 0 deletions
|
|
@ -75,6 +75,7 @@ check_surface_extents (const cairo_test_context_t *ctx,
|
|||
|
||||
cr = cairo_create (surface);
|
||||
cairo_clip_extents (cr, &x1, &y1, &x2, &y2);
|
||||
cairo_destroy (cr);
|
||||
|
||||
if (x != x1 ||
|
||||
y != y1 ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue