summaryrefslogtreecommitdiff
path: root/src/sfnt/ttload.c
diff options
context:
space:
mode:
authorAlexei Podtelezhnikov <apodtele@gmail.com>2021-09-14 21:32:43 -0400
committerAlexei Podtelezhnikov <apodtele@gmail.com>2021-09-14 21:32:43 -0400
commit49270c17011491227ec7bd3fb73ede4f674aa065 (patch)
treeafdced2fd7f51d689f28338a1181d6bc0eccb130 /src/sfnt/ttload.c
parent9a4c846e60e0260f79ce760fe2aef06857197eff (diff)
downloadfreetype2-49270c17011491227ec7bd3fb73ede4f674aa065.tar.gz
Replace boolean allocation macros with MEM ones.
* src/base/ftbitmap.c (FT_Bitmap_Copy): Use MEM-macro. * src/base/ftobjs.c (ft_glyphslot_alloc_bitmap): Ditto. * src/bzip2/ftbzip2.c (ft_bzip2_alloc): Ditto. * src/cache/ftccache.c (ftc_cache_init): Ditto * src/gzip/ftgzip.c (ft_gzip_alloc): Ditto. * src/psnames/psmodule.c (ps_unicodes_init): Ditto. * src/sfnt/sfobjs.c (sfnt_load_face): Ditto. * src/sfnt/ttload.c (tt_face_load_name): Ditto.
Diffstat (limited to 'src/sfnt/ttload.c')
-rw-r--r--src/sfnt/ttload.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sfnt/ttload.c b/src/sfnt/ttload.c
index d8ea9ea01..944d3d40f 100644
--- a/src/sfnt/ttload.c
+++ b/src/sfnt/ttload.c
@@ -993,9 +993,9 @@
/* reduce array size to the actually used elements */
count = (FT_UInt)( entry - table->names );
- (void)FT_QRENEW_ARRAY( table->names,
- table->numNameRecords,
- count );
+ FT_MEM_QRENEW_ARRAY( table->names,
+ table->numNameRecords,
+ count );
table->numNameRecords = count;
}