shithub: freetype+ttf2subf

Download patch

ref: efa1a35907ec678186e0828a78e6d1ee96896404
parent: b6c11d494e9b5ceaab75a5858b836e8a8ede41c0
author: Alexei Podtelezhnikov <apodtele@gmail.com>
date: Mon Aug 30 05:38:25 EDT 2021

* builds/windows/ftsystem.c (FT_Stream_Open): Fix double-close.

git/fs: mount .git/fs: mount/attach disallowed
--- a/builds/windows/ftsystem.c
+++ b/builds/windows/ftsystem.c
@@ -288,7 +288,7 @@
       {
         FT_ERROR(( "FT_Stream_Open:" ));
         FT_ERROR(( " could not `alloc' memory\n" ));
-        goto Fail_Map;
+        goto Fail_Open;
       }
 
       total_read_count = 0;
@@ -329,9 +329,6 @@
 
   Fail_Read:
     ft_free( NULL, stream->base );
-
-  Fail_Map:
-    CloseHandle( file );
 
   Fail_Open:
     CloseHandle( file );