diff options
author | Carl Worth <cworth@cworth.org> | 2006-08-08 12:48:56 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-08-08 12:48:56 -0700 |
commit | ca99478d4309ee66bfd0196d3d53991a46fa8367 (patch) | |
tree | 96deea3396a50f33f96dcd78cba9857555f90839 /test/zero-alpha.c | |
parent | d6e204b9d58069ba34969e6f23cf0bdb4c73b9e1 (diff) |
Fix some memory leaks in a few of the tests.
Diffstat (limited to 'test/zero-alpha.c')
-rw-r--r-- | test/zero-alpha.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/zero-alpha.c b/test/zero-alpha.c index 833e24c9b..9a01b22d7 100644 --- a/test/zero-alpha.c +++ b/test/zero-alpha.c @@ -90,6 +90,8 @@ draw (cairo_t *cr, int width, int height) for (i=0; i < REPS; i++) cairo_paint (cr); + cairo_surface_destroy (surface); + return CAIRO_TEST_SUCCESS; } |