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

This commit is contained in:
Alexei Podtelezhnikov 2021-08-30 09:38:25 -04:00
parent b6c11d494e
commit efa1a35907
1 changed files with 1 additions and 4 deletions

View File

@ -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 );