Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix from Alfred Perlstein
- Loading branch information
Showing
with
1 addition
and
0 deletions.
-
+1
−0
src/joystick/bsd/SDL_sysjoystick.c
|
@@ -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++) { |
|
|