diff options
author | Alexei Podtelezhnikov <apodtele@gmail.com> | 2021-04-23 22:04:05 -0400 |
---|---|---|
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | 2021-04-23 22:04:05 -0400 |
commit | 0bd5d95d665d954398c04008c7f40dce25a1086a (patch) | |
tree | 55a6eb3eb8ba7d16b9c344125e9159bbd86faebf /builds | |
parent | e6e5b67db339988d6cbd5c5c8877e5913f197f60 (diff) | |
download | freetype2-0bd5d95d665d954398c04008c7f40dce25a1086a.tar.gz |
* src/base/ftobjs.c (Mac_Read_POST_Resource): s/FT_ALLOC/FT_QALLOC/.
* builds/mac/ftmac.c (FT_New_Face_From_SFNT, read_lwfn): Ditto.
Diffstat (limited to 'builds')
-rw-r--r-- | builds/mac/ftmac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builds/mac/ftmac.c b/builds/mac/ftmac.c index 437e9aa6d..dc3c318f4 100644 --- a/builds/mac/ftmac.c +++ b/builds/mac/ftmac.c @@ -1011,7 +1011,7 @@ typedef short ResourceIndex; old_total_size = total_size; } - if ( FT_ALLOC( buffer, (FT_Long)total_size ) ) + if ( FT_QALLOC( buffer, (FT_Long)total_size ) ) goto Error; /* Second pass: append all POST data to the buffer, add PFB fields. */ @@ -1127,7 +1127,7 @@ typedef short ResourceIndex; return FT_THROW( Invalid_Handle ); sfnt_size = (FT_ULong)GetHandleSize( sfnt ); - if ( FT_ALLOC( sfnt_data, (FT_Long)sfnt_size ) ) + if ( FT_QALLOC( sfnt_data, (FT_Long)sfnt_size ) ) { ReleaseResource( sfnt ); return error; |