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

Oops.
This commit is contained in:
Jeff Muizelaar 2008-12-18 20:50:20 -05:00
parent 4567692326
commit f8886ad1b3

View file

@ -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);
}