diff --git a/src/cairo-scaled-font.c b/src/cairo-scaled-font.c index 40ff6988e..0d5c76bc2 100644 --- a/src/cairo-scaled-font.c +++ b/src/cairo-scaled-font.c @@ -1360,6 +1360,9 @@ _cairo_scaled_font_glyph_path (cairo_scaled_font_t *scaled_font, &closure); if (glyph_path != scaled_glyph->path) _cairo_path_fixed_destroy (glyph_path); + + if (status) + return status; } return CAIRO_STATUS_SUCCESS;