diff options
author | Carl Worth <cworth@cworth.org> | 2005-08-23 14:37:09 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2005-08-23 14:37:09 +0000 |
commit | 2dfb7a662f63642d63a91e39ea1828957fab0705 (patch) | |
tree | 6f35be8136133afa1fb8b9f6dbe40d463445ecf3 /test/text-pattern.c | |
parent | a96a4a7ce6c402ab96a9e06b453d9c2203fad7bb (diff) | |
download | cairo-2dfb7a662f63642d63a91e39ea1828957fab0705.tar.gz |
Fix memory leak of pattern.
Diffstat (limited to 'test/text-pattern.c')
-rw-r--r-- | test/text-pattern.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/text-pattern.c b/test/text-pattern.c index a337a332e..bf7a5e28b 100644 --- a/test/text-pattern.c +++ b/test/text-pattern.c @@ -67,6 +67,8 @@ draw (cairo_t *cr, int width, int height) cairo_move_to (cr, 0.1, 0.6); cairo_show_text (cr, "cairo"); + cairo_pattern_destroy (pat); + return CAIRO_TEST_SUCCESS; } |