mirror of
https://github.com/izzy2lost/wipeout-rewrite.git
synced 2026-07-06 00:20:05 -07:00
Add SDL_GameContrllerClose
Fix memory leak
This commit is contained in:
@@ -418,6 +418,10 @@ int main(int argc, char *argv[]) {
|
||||
system_cleanup();
|
||||
platform_video_cleanup();
|
||||
|
||||
if (gamepad) {
|
||||
SDL_GameControllerClose(gamepad);
|
||||
}
|
||||
|
||||
if (sdl_path_assets) {
|
||||
SDL_free(sdl_path_assets);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user