Closed scvalex closed 10 years ago
The changes here expose SDL_RWclose.
The difference between SDL_FreeRW and SDL_RWclose is that the latter also closes the file before freeing the SDL_rwops structure for it. So, presumably, no fd leaks.
SDL_FreeRW
SDL_RWclose
SDL_rwops
The changes here expose SDL_RWclose.
The difference between
SDL_FreeRW
andSDL_RWclose
is that the latter also closes the file before freeing theSDL_rwops
structure for it. So, presumably, no fd leaks.