summaryrefslogtreecommitdiff
path: root/test/push-group.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-08-08 12:48:56 -0700
committerCarl Worth <cworth@cworth.org>2006-08-08 12:48:56 -0700
commitca99478d4309ee66bfd0196d3d53991a46fa8367 (patch)
tree96deea3396a50f33f96dcd78cba9857555f90839 /test/push-group.c
parentd6e204b9d58069ba34969e6f23cf0bdb4c73b9e1 (diff)
downloadcairo-ca99478d4309ee66bfd0196d3d53991a46fa8367.tar.gz
Fix some memory leaks in a few of the tests.
Diffstat (limited to 'test/push-group.c')
-rw-r--r--test/push-group.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/push-group.c b/test/push-group.c
index 0c6e50b6f..4e6fed059 100644
--- a/test/push-group.c
+++ b/test/push-group.c
@@ -109,6 +109,8 @@ draw (cairo_t *cr, int width, int height)
}
}
+ cairo_pattern_destroy (gradient);
+
return CAIRO_TEST_SUCCESS;
}