mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-05 06:38:00 +02:00
* src/truetype/ttgload.c (TT_Process_Composite_Glyph): Fix allocation.
Fixes #1403, proposed by Chris Anderson.
This commit is contained in:
parent
bda1d87f69
commit
5846b6eda6
1 changed files with 1 additions and 3 deletions
|
|
@ -1185,9 +1185,7 @@
|
|||
|
||||
|
||||
/* make room for phantom points */
|
||||
error = FT_GLYPHLOADER_CHECK_POINTS( loader->gloader,
|
||||
outline->n_points + 4,
|
||||
0 );
|
||||
error = FT_GLYPHLOADER_CHECK_POINTS( loader->gloader, 4, 0 );
|
||||
if ( error )
|
||||
return error;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue