• Sam Lantinga's avatar
    Fixed bug #638 · 5556bfb1
    Sam Lantinga authored
     Philipp Nordhus      2008-11-05 13:56:33 PST
    
    The Linux version of SDL_SYS_JoystickQuit() tries to free an invalid pointer
    when the number of joysticks was reduced since the last call.
    
    Reproduce: Connect two joysticks, call SDL_Init() and SDL_Quit(), then
    disconnect one joystick and call the functions again.
    
    --HG--
    branch : SDL-1.2
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403869
    5556bfb1
Name
Last commit
Last update
..
beos Loading commit data...
bsd Loading commit data...
darwin Loading commit data...
dc Loading commit data...
dummy Loading commit data...
linux Loading commit data...
macos Loading commit data...
mint Loading commit data...
nds Loading commit data...
os2 Loading commit data...
riscos Loading commit data...
win32 Loading commit data...
SDL_joystick.c Loading commit data...
SDL_joystick_c.h Loading commit data...
SDL_sysjoystick.h Loading commit data...