diff options
-rw-r--r-- | test/subsurface-modify-parent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/subsurface-modify-parent.c b/test/subsurface-modify-parent.c index 3dab2dd7..3d542d5c 100644 --- a/test/subsurface-modify-parent.c +++ b/test/subsurface-modify-parent.c @@ -59,6 +59,7 @@ draw (cairo_t *cr, int width, int height) cairo_fill (cr); cairo_set_source_surface (cr, region, 20, 20); + cairo_surface_destroy (region); /* repeat the pattern around the outside, but do not overwrite...*/ cairo_pattern_set_extend (cairo_get_source (cr), CAIRO_EXTEND_REPEAT); |