diff options
author | Carl Worth <cworth@cworth.org> | 2007-03-02 11:32:47 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2007-03-02 11:32:47 -0800 |
commit | 9854d01a8d3a1f9f6148dfd6e22623c4586aaa96 (patch) | |
tree | b9ac059876442923b973ed6383cf75c00326781b /test/pattern-getters.c | |
parent | b52dda62fea0745cc28d6149dc4688ade524b4df (diff) |
Fix leak in pattern-getters test (missing cairo_pattern_destroy)
Diffstat (limited to 'test/pattern-getters.c')
-rw-r--r-- | test/pattern-getters.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/pattern-getters.c b/test/pattern-getters.c index fcfd0b98..d4014ea7 100644 --- a/test/pattern-getters.c +++ b/test/pattern-getters.c @@ -160,6 +160,8 @@ draw (cairo_t *cr, int width, int height) !DOUBLE_EQUALS(e,5.0) || !DOUBLE_EQUALS(f,6.0)) return CAIRO_TEST_FAILURE; + + cairo_pattern_destroy (pat); } cairo_set_source_rgb (cr, 0, 1, 0); |