* src/cid/cidload.c (cid_read_subrs): Tweak allocation macro.

This commit is contained in:
Alexei Podtelezhnikov 2021-05-06 22:51:37 -04:00
parent 2d95784885
commit 998c7c0f1c
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2021-05-06 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/cid/cidload.c (cid_read_subrs): Tweak allocation macro.
2021-05-06 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/base/ftrfork.c (FT_Raccess_Get_DataOffsets): Tweak allocation.

View File

@ -552,7 +552,7 @@
goto Fail;
}
if ( FT_RENEW_ARRAY( offsets, max_offsets, new_max ) )
if ( FT_QRENEW_ARRAY( offsets, max_offsets, new_max ) )
goto Fail;
max_offsets = new_max;