src/events/SDL_mouse.c
changeset 7720 f9a649383362
parent 7678 286c42d7c5ed
child 7753 e4c38f17bfad
     1.1 --- a/src/events/SDL_mouse.c	Thu Aug 29 08:29:21 2013 -0700
     1.2 +++ b/src/events/SDL_mouse.c	Thu Aug 29 08:29:51 2013 -0700
     1.3 @@ -571,9 +571,7 @@
     1.4          mouse->cursors = cursor;
     1.5      }
     1.6  
     1.7 -    if (temp) {
     1.8 -        SDL_FreeSurface(temp);
     1.9 -    }
    1.10 +    SDL_FreeSurface(temp);
    1.11  
    1.12      return cursor;
    1.13  }