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

unsigned-revisions
Alexei Podtelezhnikov 3 years ago
parent b6c11d494e
commit efa1a35907
  1. 5
      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 );

Loading…
Cancel
Save