summaryrefslogtreecommitdiff
path: root/test/filter-nearest-offset.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/filter-nearest-offset.c')
-rw-r--r--test/filter-nearest-offset.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/filter-nearest-offset.c b/test/filter-nearest-offset.c
index f22dcf13..4df60970 100644
--- a/test/filter-nearest-offset.c
+++ b/test/filter-nearest-offset.c
@@ -94,6 +94,7 @@ draw (cairo_t *cr, int width, int height)
}
}
+ cairo_surface_finish (surface); /* data goes out of scope */
cairo_surface_destroy (surface);
return CAIRO_TEST_SUCCESS;