freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] * builds/windows/ftsystem.c (FT_Stream_


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] * builds/windows/ftsystem.c (FT_Stream_Open): Fix double-close.
Date: Mon, 30 Aug 2021 13:41:13 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

1 changed file:

Changes:

  • builds/windows/ftsystem.c
    ... ... @@ -288,7 +288,7 @@
    288 288
           {
    
    289 289
             FT_ERROR(( "FT_Stream_Open:" ));
    
    290 290
             FT_ERROR(( " could not `alloc' memory\n" ));
    
    291
    -        goto Fail_Map;
    
    291
    +        goto Fail_Open;
    
    292 292
           }
    
    293 293
     
    
    294 294
           total_read_count = 0;
    
    ... ... @@ -330,9 +330,6 @@
    330 330
       Fail_Read:
    
    331 331
         ft_free( NULL, stream->base );
    
    332 332
     
    
    333
    -  Fail_Map:
    
    334
    -    CloseHandle( file );
    
    335
    -
    
    336 333
       Fail_Open:
    
    337 334
         CloseHandle( file );
    
    338 335
     
    


  • reply via email to

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