mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 04:08:13 +02:00
[scaled-font-zero-matrix] Destrory scaled font and font options
Oops.
This commit is contained in:
parent
4567692326
commit
f8886ad1b3
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue