summaryrefslogtreecommitdiff
path: root/test/device-offset-positive.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/device-offset-positive.c')
-rw-r--r--test/device-offset-positive.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/device-offset-positive.c b/test/device-offset-positive.c
index 4ea9469d..5afe9730 100644
--- a/test/device-offset-positive.c
+++ b/test/device-offset-positive.c
@@ -67,6 +67,7 @@ draw (cairo_t *cr, int width, int height)
cairo_destroy (cr2);
cairo_surface_set_device_offset (surface, + SIZE / 2, + SIZE / 2);
cairo_set_source_surface (cr, surface, SIZE / 2, SIZE / 2);
+ cairo_surface_destroy (surface);
cairo_paint (cr);