freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype][master] 3 commits: * src/base/ftrfork.c (FT_Rac


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] 3 commits: * src/base/ftrfork.c (FT_Raccess_Get_DataOffsets): Tweak allocation.
Date: Fri, 07 May 2021 02:54:41 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

4 changed files:

Changes:

  • ChangeLog
    1
    +2021-05-06  Alexei Podtelezhnikov  <apodtele@gmail.com>
    
    2
    +
    
    3
    +	* src/sfnt/sfobjs.c (sfnt_load_face): Tweak allocation macro.
    
    4
    +
    
    5
    +2021-05-06  Alexei Podtelezhnikov  <apodtele@gmail.com>
    
    6
    +
    
    7
    +	* src/cid/cidload.c (cid_read_subrs): Tweak allocation macro.
    
    8
    +
    
    9
    +2021-05-06  Alexei Podtelezhnikov  <apodtele@gmail.com>
    
    10
    +
    
    11
    +	* src/base/ftrfork.c (FT_Raccess_Get_DataOffsets): Tweak allocation.
    
    12
    +
    
    1 13
     2021-05-05  Alexei Podtelezhnikov  <apodtele@gmail.com>
    
    2 14
     
    
    3 15
     	[cff,psaux] Avoid memory zeroing (contd.).
    

  • src/base/ftrfork.c
    ... ... @@ -251,7 +251,7 @@
    251 251
             if ( error )
    
    252 252
               return error;
    
    253 253
     
    
    254
    -        if ( FT_NEW_ARRAY( ref, *count ) )
    
    254
    +        if ( FT_QNEW_ARRAY( ref, *count ) )
    
    255 255
               return error;
    
    256 256
     
    
    257 257
             for ( j = 0; j < *count; j++ )
    

  • src/cid/cidload.c
    ... ... @@ -552,7 +552,7 @@
    552 552
               goto Fail;
    
    553 553
             }
    
    554 554
     
    
    555
    -        if ( FT_RENEW_ARRAY( offsets, max_offsets, new_max ) )
    
    555
    +        if ( FT_QRENEW_ARRAY( offsets, max_offsets, new_max ) )
    
    556 556
               goto Fail;
    
    557 557
     
    
    558 558
             max_offsets = new_max;
    

  • src/sfnt/sfobjs.c
    ... ... @@ -1237,7 +1237,7 @@
    1237 1237
               }
    
    1238 1238
     
    
    1239 1239
               /* reduce array size to the actually used elements */
    
    1240
    -          (void)FT_RENEW_ARRAY( sbit_strike_map, count, bsize_idx );
    
    1240
    +          (void)FT_QRENEW_ARRAY( sbit_strike_map, count, bsize_idx );
    
    1241 1241
     
    
    1242 1242
               /* from now on, all strike indices are mapped */
    
    1243 1243
               /* using `sbit_strike_map'                    */
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]