Null PhysFS handle after closing
This commit is contained in:
parent
0253b6ed2b
commit
4a945f8d6c
|
@ -706,6 +706,8 @@ static int SDL_RWopsClose(SDL_RWops *ops)
|
||||||
|
|
||||||
int result = PHYSFS_close(f);
|
int result = PHYSFS_close(f);
|
||||||
|
|
||||||
|
f = 0;
|
||||||
|
|
||||||
return (result != 0) ? 0 : -1;
|
return (result != 0) ? 0 : -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue