Commit 4cf94e33 authored by Sam Lantinga's avatar Sam Lantinga

Fix from Alfred Perlstein

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40966
parent 8a8ea630
......@@ -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++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment