mirror of https://github.com/snes9xgit/snes9x.git
Fix crash relating to double-closed descriptor.
This commit is contained in:
parent
8b6dd06977
commit
68492491dd
|
@ -808,7 +808,6 @@ int S9xMovieOpen (const char *filename, bool8 read_only)
|
||||||
result = S9xUnfreezeFromStream(stream);
|
result = S9xUnfreezeFromStream(stream);
|
||||||
|
|
||||||
CLOSE_STREAM(stream);
|
CLOSE_STREAM(stream);
|
||||||
fclose(fd);
|
|
||||||
|
|
||||||
if (result != SUCCESS)
|
if (result != SUCCESS)
|
||||||
return (result);
|
return (result);
|
||||||
|
|
Loading…
Reference in New Issue