mirror of
https://github.com/yawut/SDL.git
synced 2026-08-22 00:35:18 -05:00
Fix from Alfred Perlstein
This commit is contained in:
@@ -160,6 +160,7 @@ SDL_SYS_JoystickInit(void)
|
||||
SDL_numjoysticks++;
|
||||
} else {
|
||||
free(joynames[nj.index]);
|
||||
joynames[nj.index] = NULL;
|
||||
}
|
||||
}
|
||||
for (i = 0; i < MAX_JOY_JOYS; i++) {
|
||||
|
||||
Reference in New Issue
Block a user