src/render/software/SDL_render_sw.c
changeset 7719 31b5f9ff36ca
parent 7582 fb276f54cd07
child 7859 af63b63e7aac
     1.1 --- a/src/render/software/SDL_render_sw.c	Thu Aug 29 08:27:25 2013 -0700
     1.2 +++ b/src/render/software/SDL_render_sw.c	Thu Aug 29 08:29:21 2013 -0700
     1.3 @@ -718,9 +718,7 @@
     1.4  {
     1.5      SW_RenderData *data = (SW_RenderData *) renderer->driverdata;
     1.6  
     1.7 -    if (data) {
     1.8 -        SDL_free(data);
     1.9 -    }
    1.10 +    SDL_free(data);
    1.11      SDL_free(renderer);
    1.12  }
    1.13