* src/base/ftrfork.c (FT_Raccess_Get_DataOffsets): Tweak allocation.

This commit is contained in:
Alexei Podtelezhnikov 2021-05-06 22:49:13 -04:00
parent 8150ed0db2
commit 2d95784885
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2021-05-06 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/base/ftrfork.c (FT_Raccess_Get_DataOffsets): Tweak allocation.
2021-05-05 Alexei Podtelezhnikov <apodtele@gmail.com>
[cff,psaux] Avoid memory zeroing (contd.).

View File

@ -251,7 +251,7 @@
if ( error )
return error;
if ( FT_NEW_ARRAY( ref, *count ) )
if ( FT_QNEW_ARRAY( ref, *count ) )
return error;
for ( j = 0; j < *count; j++ )