* src/truetype/ttgload.c (TT_Process_Composite_Glyph): Fix leak too.
This commit is contained in:
parent
b36193d025
commit
b3250f367a
|
@ -1375,6 +1375,8 @@
|
||||||
FT_Memory memory = exec->memory;
|
FT_Memory memory = exec->memory;
|
||||||
|
|
||||||
|
|
||||||
|
if ( exec->glyphSize )
|
||||||
|
FT_FREE( exec->glyphIns );
|
||||||
if ( FT_QNEW_ARRAY( exec->glyphIns, n_ins ) ||
|
if ( FT_QNEW_ARRAY( exec->glyphIns, n_ins ) ||
|
||||||
FT_STREAM_READ( exec->glyphIns, n_ins ) )
|
FT_STREAM_READ( exec->glyphIns, n_ins ) )
|
||||||
return error;
|
return error;
|
||||||
|
|
Loading…
Reference in New Issue