* src/truetype/ttgload.c (TT_Process_Composite_Glyph): Fix leak too.

apodtele-master-patch-56869
Alexei Podtelezhnikov 2 years ago
parent b36193d025
commit b3250f367a
  1. 2
      src/truetype/ttgload.c

@ -1375,6 +1375,8 @@
FT_Memory memory = exec->memory;
if ( exec->glyphSize )
FT_FREE( exec->glyphIns );
if ( FT_QNEW_ARRAY( exec->glyphIns, n_ins ) ||
FT_STREAM_READ( exec->glyphIns, n_ins ) )
return error;

Loading…
Cancel
Save