diff options
Diffstat (limited to 'test/source-surface-scale-paint.c')
-rw-r--r-- | test/source-surface-scale-paint.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/source-surface-scale-paint.c b/test/source-surface-scale-paint.c index 565a1ff4..4ac62490 100644 --- a/test/source-surface-scale-paint.c +++ b/test/source-surface-scale-paint.c @@ -45,6 +45,7 @@ draw (cairo_t *cr, int width, int height) cairo_scale (cr, 2, 2); cairo_paint (cr); + cairo_surface_finish (surface); /* data will go out of scope */ cairo_surface_destroy (surface); return CAIRO_TEST_SUCCESS; |