* src/base/ftrfork.c (FT_Raccess_Get_DataOffsets): Tweak allocation.
diff --git a/ChangeLog b/ChangeLog
index 24ba393..6d3fc2f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.).
diff --git a/src/base/ftrfork.c b/src/base/ftrfork.c
index 386e3de..cb7e94d 100644
--- a/src/base/ftrfork.c
+++ b/src/base/ftrfork.c
@@ -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++ )