diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-05 09:17:33 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-05 09:17:33 +0100 |
commit | 6a06e0ef7b534355d0f3b4885159ffc37dbc3867 (patch) | |
tree | 2dbf7ff41b3bc926f35f184ff858d884c7528447 /test/subsurface-modify-parent.c | |
parent | 4a46c715564c886e7434d65625fb84b5d87c0970 (diff) |
test/subsurface-modify-parent: Free region.
Minor refleak.
Diffstat (limited to 'test/subsurface-modify-parent.c')
-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); |