On Mon, 07 May 2018 07:33:16 +0200 (CEST), Werner LEMBERG wrote: > You would only check the return value of `FT_Done_Face' if your code > gets an `FT_Face' handle that it doesn't manage by itself (rather > unlikely, but who knows). In this situation it could happen that the > handle is NULL, and this should be reported back – not because > `FT_Done_Face' can't handle value NULL but the fact that it has > received such a handle, which indicates a problem in the calling > program.
NULL should be perfectly valid -- it simply indicates the object was never allocated. _______________________________________________ Freetype mailing list Freetype@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype