diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-02-12 11:16:37 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-02-15 13:50:43 +0000 |
commit | 9e9fda047879f0336c2627483c78499af8ef5458 (patch) | |
tree | 2eea13ab6dab4c59f6723e03bce1431ae5041cd2 /test/bitmap-font.c | |
parent | 92970ec83687435e75e60110cb7434670515ae57 (diff) | |
download | cairo-9e9fda047879f0336c2627483c78499af8ef5458.tar.gz |
[test/bitmap-font] Destroy the font options after use.
Fix the leak of the font options.
Diffstat (limited to 'test/bitmap-font.c')
-rw-r--r-- | test/bitmap-font.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/bitmap-font.c b/test/bitmap-font.c index a9e4e8b59..7bebb6c9c 100644 --- a/test/bitmap-font.c +++ b/test/bitmap-font.c @@ -204,6 +204,8 @@ draw (cairo_t *cr, int width, int height) cairo_text_path (cr, " a lazy dog"); cairo_fill (cr); + cairo_font_options_destroy (font_options); + return CAIRO_TEST_SUCCESS; } |