summaryrefslogtreecommitdiff
path: root/test/zero-alpha.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/zero-alpha.c')
-rw-r--r--test/zero-alpha.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/zero-alpha.c b/test/zero-alpha.c
index 1c7c94b0..0105cc8e 100644
--- a/test/zero-alpha.c
+++ b/test/zero-alpha.c
@@ -81,6 +81,7 @@ draw (cairo_t *cr, int width, int height)
for (i=0; i < REPS; i++)
cairo_paint (cr);
+ cairo_surface_finish (surface); /* zero will go out of scope */
cairo_surface_destroy (surface);
return CAIRO_TEST_SUCCESS;