[cairo-commit] test/scaled-font-zero-matrix.c

Jeff Muizelaar jrmuizel at kemper.freedesktop.org
Thu Dec 18 17:54:10 PST 2008


 test/scaled-font-zero-matrix.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit f8886ad1b30ec9c29ec5ac3e9cd5519dbc9e7b65
Author: Jeff Muizelaar <jmuizelaar at mozilla.com>
Date:   Thu Dec 18 20:50:20 2008 -0500

    [scaled-font-zero-matrix] Destrory scaled font and font options
    
    Oops.

diff --git a/test/scaled-font-zero-matrix.c b/test/scaled-font-zero-matrix.c
index 6948f39..bd5c377 100644
--- a/test/scaled-font-zero-matrix.c
+++ b/test/scaled-font-zero-matrix.c
@@ -48,6 +48,8 @@ draw (cairo_t *cr, int width, int height)
 	    font_options);
     cairo_set_scaled_font (cr, scaled_font);
     cairo_show_text (cr, "Hello");
+    cairo_scaled_font_destroy (scaled_font);
+    cairo_font_options_destroy (font_options);
     return cairo_status (cr);
 }
 


More information about the cairo-commit mailing list