diff --git a/ChangeLog b/ChangeLog index a9bf5e033..61b942fda 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2021-04-24 Alexei Podtelezhnikov + + * src/cff/cffload.c (cff_index_get_pointers): s/FT_QALLOC/FT_ALLOC/. + 2021-04-23 Alexei Podtelezhnikov * src/base/ftobjs.c (Mac_Read_POST_Resource): s/FT_ALLOC/FT_QALLOC/. @@ -34,7 +38,7 @@ [cid] s/FT_ALLOC/FT_QALLOC/ and clean up. * src/cid/cidgload.c (cid_load_glyph): Do not zero out the buffer. - * src/cid/cidload.c (cid_face_open, cid_read_subrs): Ditto. + * src/cid/cidload.c (cid_face_open, cid_read_subrs): Ditto. 2021-04-23 Alexei Podtelezhnikov diff --git a/src/cff/cffload.c b/src/cff/cffload.c index 210ada1be..23cba5071 100644 --- a/src/cff/cffload.c +++ b/src/cff/cffload.c @@ -426,9 +426,9 @@ new_size = idx->data_size + idx->count; - if ( idx->count > 0 && - !FT_NEW_ARRAY( tbl, idx->count + 1 ) && - ( !pool || !FT_QALLOC( new_bytes, new_size ) ) ) + if ( idx->count > 0 && + !FT_NEW_ARRAY( tbl, idx->count + 1 ) && + ( !pool || !FT_ALLOC( new_bytes, new_size ) ) ) { FT_ULong n, cur_offset; FT_ULong extra = 0;