freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] * src/pshinter/pshglob.c (psh_globals_n


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] * src/pshinter/pshglob.c (psh_globals_new): Avoid zeroing.
Date: Fri, 14 Jan 2022 19:43:43 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

1 changed file:

Changes:

  • src/pshinter/pshglob.c
    ... ... @@ -646,11 +646,11 @@
    646 646
                        T1_Private*   priv,
    
    647 647
                        PSH_Globals  *aglobals )
    
    648 648
       {
    
    649
    -    PSH_Globals  globals = NULL;
    
    649
    +    PSH_Globals  globals;
    
    650 650
         FT_Error     error;
    
    651 651
     
    
    652 652
     
    
    653
    -    if ( !FT_NEW( globals ) )
    
    653
    +    if ( !FT_QNEW( globals ) )
    
    654 654
         {
    
    655 655
           FT_UInt    count;
    
    656 656
           FT_Short*  read;
    


  • reply via email to

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