Skip to content

[base] Improve error handling in FT_GlyphLoader_CheckPoints()

Chris Liddell requested to merge chris.liddell/freetype:master into master
  • base/ftgloadr.c FT_GlyphLoader_CreateExtra returning an error (and a couple of other places) would return the error immediately, rather than cleaning up the partially setup FT_GlyphLoader, meaning a subsequent attempt to create a glyph could result in a crash.

Ensure all the error conditions exits are consistent (calling FT_GlyphLoader_Reset).

Merge request reports