src/joystick/iphoneos/SDL_sysjoystick.m
branchiOS-improvements
changeset 9510 e19faa3b5d88
parent 9506 18e3f94bd860
child 9535 a66a7f7e8cd8
     1.1 --- a/src/joystick/iphoneos/SDL_sysjoystick.m	Wed Aug 06 00:45:11 2014 -0300
     1.2 +++ b/src/joystick/iphoneos/SDL_sysjoystick.m	Wed Aug 06 03:24:16 2014 -0300
     1.3 @@ -176,10 +176,7 @@
     1.4  SDL_SYS_JoystickQuit(void)
     1.5  {
     1.6      @autoreleasepool {
     1.7 -        if (motionManager != nil) {
     1.8 -            [motionManager release];
     1.9 -            motionManager = nil;
    1.10 -        }
    1.11 +        motionManager = nil;
    1.12      }
    1.13  
    1.14      numjoysticks = 0;