summaryrefslogtreecommitdiff
path: root/test/subsurface-outside-target.c
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2010-09-09 22:53:38 +0200
committerAndrea Canciani <ranma42@gmail.com>2010-09-10 07:34:43 +0200
commit291876ad3477330143bbb814ea72c658dc8ca584 (patch)
tree28c8cb38b2f6f2dd022fada4f7c63d0b94af0c84 /test/subsurface-outside-target.c
parent8fda4ab1cc7f60196b232d194c33e592ecdec9b5 (diff)
downloadcairo-291876ad3477330143bbb814ea72c658dc8ca584.tar.gz
test: do not leak resources
Silence some leak reports by check-valgrind.
Diffstat (limited to 'test/subsurface-outside-target.c')
-rw-r--r--test/subsurface-outside-target.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/subsurface-outside-target.c b/test/subsurface-outside-target.c
index fd5124340..c60ca8ae1 100644
--- a/test/subsurface-outside-target.c
+++ b/test/subsurface-outside-target.c
@@ -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 ||