diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2023-01-19 11:39:36 -0700 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2023-01-19 13:42:23 -0700 |
commit | 8fbfb7f3770c42ad050c2b7ac77dd345e6b5eeab (patch) | |
tree | 65828cbd273bb251c42d377002e2aea558127e6a /src/cairo-scaled-font.c | |
parent | 7b1de369ddace078c2ffc8b0bde211c5c3eeb810 (diff) | |
download | cairo-8fbfb7f3770c42ad050c2b7ac77dd345e6b5eeab.tar.gz |
[scaled-font] Clean up font-options before copy
Diffstat (limited to 'src/cairo-scaled-font.c')
-rwxr-xr-x | src/cairo-scaled-font.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-scaled-font.c b/src/cairo-scaled-font.c index 83f1e1eed..cc52ed577 100755 --- a/src/cairo-scaled-font.c +++ b/src/cairo-scaled-font.c @@ -3073,6 +3073,7 @@ cairo_scaled_font_get_font_options (cairo_scaled_font_t *scaled_font, return; } + _cairo_font_options_fini (options); _cairo_font_options_init_copy (options, &scaled_font->options); } slim_hidden_def (cairo_scaled_font_get_font_options); |