ref: 2f62d8e075656e6b5fb597e681ba4b2b8296900c
parent: 79ed536d01a177f9e9462b43b89ca3bbeda4ddc9
author: Alexei Podtelezhnikov <apodtele@gmail.com>
date: Fri May 7 05:33:41 EDT 2021
* src/bdf/bdflib.c (_bdf_list_ensure): Tweak allocation macro.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2021-05-07 Alexei Podtelezhnikov <apodtele@gmail.com>
+
+ * src/bdf/bdflib.c (_bdf_list_ensure): Tweak allocation macro.
+
2021-05-06 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/psaux/psobjs.c (ps_parser_load_field): Tweak allocation macro.
--- a/src/bdf/bdflib.c
+++ b/src/bdf/bdflib.c
@@ -328,7 +328,7 @@
else if ( newsize < oldsize || newsize > bigsize )
newsize = bigsize;
- if ( FT_RENEW_ARRAY( list->field, oldsize, newsize ) )
+ if ( FT_QRENEW_ARRAY( list->field, oldsize, newsize ) )
goto Exit;
list->size = newsize;