src/events/SDL_events.c
changeset 7719 31b5f9ff36ca
parent 7611 ed6f4b8557e4
child 7857 6388f5229bb7
     1.1 --- a/src/events/SDL_events.c	Thu Aug 29 08:27:25 2013 -0700
     1.2 +++ b/src/events/SDL_events.c	Thu Aug 29 08:29:21 2013 -0700
     1.3 @@ -141,10 +141,8 @@
     1.4  
     1.5      /* Clear disabled event state */
     1.6      for (i = 0; i < SDL_arraysize(SDL_disabled_events); ++i) {
     1.7 -        if (SDL_disabled_events[i]) {
     1.8 -            SDL_free(SDL_disabled_events[i]);
     1.9 -            SDL_disabled_events[i] = NULL;
    1.10 -        }
    1.11 +        SDL_free(SDL_disabled_events[i]);
    1.12 +        SDL_disabled_events[i] = NULL;
    1.13      }
    1.14  
    1.15      while (SDL_event_watchers) {