src/render/psp/SDL_render_psp.c
changeset 7719 31b5f9ff36ca
parent 7677 871d43c6968a
child 8093 b43765095a6f
     1.1 --- a/src/render/psp/SDL_render_psp.c	Thu Aug 29 08:27:25 2013 -0700
     1.2 +++ b/src/render/psp/SDL_render_psp.c	Thu Aug 29 08:29:21 2013 -0700
     1.3 @@ -988,10 +988,7 @@
     1.4      if(psp_texture == 0)
     1.5          return;
     1.6  
     1.7 -    if(psp_texture->data != 0)
     1.8 -    {
     1.9 -        SDL_free(psp_texture->data);
    1.10 -    }
    1.11 +    SDL_free(psp_texture->data);
    1.12      SDL_free(psp_texture);
    1.13      texture->driverdata = NULL;
    1.14  }