summaryrefslogtreecommitdiff
path: root/test/extend-reflect.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-01-17 17:44:57 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2008-01-17 17:45:17 +0000
commit630536f17681b083db658414d68db2c0eb167af3 (patch)
treeb04f53356e05cd1dfec377d156ccc9e3accd4ef3 /test/extend-reflect.c
parentdec2daeaf396be9dc6e8952417cc615d3a607926 (diff)
downloadcairo-630536f17681b083db658414d68db2c0eb167af3.tar.gz
[test/extend-*] Add various cairo_pattern_set_extend() test cases.
Add various test cases to exercise _cairo_pattern_acquire_surface_for_surface(), most notably using similar source surfaces to provide coverage of the non-image surface branch.
Diffstat (limited to 'test/extend-reflect.c')
-rw-r--r--test/extend-reflect.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/extend-reflect.c b/test/extend-reflect.c
index e23c8f67a..e9d07cc0c 100644
--- a/test/extend-reflect.c
+++ b/test/extend-reflect.c
@@ -24,6 +24,8 @@ draw (cairo_t *cr, int width, int height)
cairo_paint (cr);
+ cairo_surface_destroy (surface);
+
return CAIRO_TEST_SUCCESS;
}