test/testautomation_video.c
changeset 7719 31b5f9ff36ca
parent 7677 871d43c6968a
child 9219 c65108ddbeb0
     1.1 --- a/test/testautomation_video.c	Thu Aug 29 08:27:25 2013 -0700
     1.2 +++ b/test/testautomation_video.c	Thu Aug 29 08:29:21 2013 -0700
     1.3 @@ -1714,10 +1714,10 @@
     1.4    _destroyVideoSuiteTestWindow(window);
     1.5  
     1.6    cleanup:
     1.7 -  if (referenceUserdata != NULL) SDL_free(referenceUserdata);
     1.8 -  if (referenceUserdata2 != NULL) SDL_free(referenceUserdata2);
     1.9 -  if (userdata != NULL) SDL_free(userdata);
    1.10 -  if (userdata2 != NULL) SDL_free(userdata2);
    1.11 +  SDL_free(referenceUserdata);
    1.12 +  SDL_free(referenceUserdata2);
    1.13 +  SDL_free(userdata);
    1.14 +  SDL_free(userdata2);
    1.15  
    1.16    return returnValue;
    1.17  }