shithub: freetype+ttf2subf

Download patch

ref: 837f0345a9a6f3f64c94a41d944b097ffa359e5a
parent: 0ac535900b498bc477c811fcb53cc976c192bae7
author: Alexei Podtelezhnikov <apodtele@gmail.com>
date: Wed Jan 26 10:49:24 EST 2022

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

git/fs: mount .git/fs: mount/attach disallowed
--- 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++ )