test: do not leak resources

Silence some leak reports by check-valgrind.
This commit is contained in:
Andrea Canciani 2010-09-09 22:53:38 +02:00
parent 8fda4ab1cc
commit 291876ad34

View file

@ -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 ||