diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-09-24 09:49:09 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-09-24 17:32:45 +0100 |
commit | 88188eababa7c6dafeb064662a77b8f5f3719593 (patch) | |
tree | d197104fd33da28287dc968e3acfa4b19c4c62c5 /test/mask-transformed-image.c | |
parent | 8f157303681a3d58471ffbe004bc140b7a3a48be (diff) |
[test] Memleak in new mask-ctm-* tests.
Add the forgotten cairo_surface_destroy().
Diffstat (limited to 'test/mask-transformed-image.c')
-rw-r--r-- | test/mask-transformed-image.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/mask-transformed-image.c b/test/mask-transformed-image.c index 590683313..84901e7e8 100644 --- a/test/mask-transformed-image.c +++ b/test/mask-transformed-image.c @@ -90,6 +90,9 @@ draw (cairo_t *cr, int width, int height) /* apply the mask */ cairo_mask_surface (cr, mask, 0, 0); + cairo_surface_destroy (mask); + cairo_surface_destroy (image); + return CAIRO_TEST_SUCCESS; } |