forked from minhngoc25a/freetype2
* builds/windows/ftsystem.c (FT_Stream_Open): Fix double-close.
This commit is contained in:
parent
b6c11d494e
commit
efa1a35907
|
@ -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…
Reference in New Issue