Commit 837f0345a9a6f3f64c94a41d944b097ffa359e5a

Alexei Podtelezhnikov 2022-01-26T15:49:24

* src/pfr/pfrload.c (pfr_phy_font_load): Use FT_QNEW_ARRAY.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/pfr/pfrload.c b/src/pfr/pfrload.c
index 3b04059..6bf7979 100644
--- a/src/pfr/pfrload.c
+++ b/src/pfr/pfrload.c
@@ -993,7 +993,7 @@
 
       PFR_CHECK_SIZE( count * Size );
 
-      if ( FT_NEW_ARRAY( phy_font->chars, count ) )
+      if ( FT_QNEW_ARRAY( phy_font->chars, count ) )
         goto Fail;
 
       for ( n = 0; n < count; n++ )