sdk/lib/3rdparty/freetype/src/psaux/psintrp.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sdk/lib/3rdparty/freetype/src/psaux/psintrp.c b/sdk/lib/3rdparty/freetype/src/psaux/psintrp.c index 5c0ee78..2ec42b0 100644 --- a/sdk/lib/3rdparty/freetype/src/psaux/psintrp.c +++ b/sdk/lib/3rdparty/freetype/src/psaux/psintrp.c @@ -525,7 +525,14 @@ CF2_ArrStackRec vStemHintArray; CF2_HintMaskRec hintMask; + +#ifdef __REACTOS__ + CF2_GlyphPathRec *glyphPath = malloc(sizeof(CF2_GlyphPathRec)); +/* Ugly but it allows us to reduce the diff */ +#define glyphPath (*glyphPath) +#else CF2_GlyphPathRec glyphPath; +#endif FT_ZERO( &storage ); @@ -3029,6 +3036,10 @@ cf2_arrstack_finalize( &subrStack ); cf2_stack_free( opStack ); +#ifdef __REACTOS__ + free(&glyphPath); +#endif + FT_TRACE4(( "\n" )); return;