* builds/windows/ftsystem.c (FT_Stream_Open): Fix double-close.
diff --git a/builds/windows/ftsystem.c b/builds/windows/ftsystem.c
index 65c37aa..40b51eb 100644
--- 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;
@@ -330,9 +330,6 @@
Fail_Read:
ft_free( NULL, stream->base );
- Fail_Map:
- CloseHandle( file );
-
Fail_Open:
CloseHandle( file );