Commit 2f62d8e075656e6b5fb597e681ba4b2b8296900c

Alexei Podtelezhnikov 2021-05-07T09:33:41

* src/bdf/bdflib.c (_bdf_list_ensure): Tweak allocation macro.

diff --git a/ChangeLog b/ChangeLog
index 758ea3b..54b07b1 100644
--- 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.
diff --git a/src/bdf/bdflib.c b/src/bdf/bdflib.c
index a27a6fe..8db9940 100644
--- 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;