mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-09 06:08:02 +02:00
[cairo-type1-fallback] Propagate error from closing the stream.
Propagate the error from destroying the font and closing the output stream.
This commit is contained in:
parent
dd0f2d851c
commit
29a5aae958
1 changed files with 1 additions and 2 deletions
|
|
@ -865,8 +865,7 @@ _cairo_type2_charstrings_init (cairo_type2_charstrings_t *type2_subset,
|
|||
type2_subset->ascent = (int) font->y_max;
|
||||
type2_subset->descent = (int) font->y_min;
|
||||
|
||||
cairo_type1_font_destroy (font);
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
return cairo_type1_font_destroy (font);
|
||||
|
||||
fail2:
|
||||
_cairo_array_fini (&charstring);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue