src/video/SDL_bmp.c
changeset 7720 f9a649383362
parent 7678 286c42d7c5ed
child 7913 44dc7926f62d
     1.1 --- a/src/video/SDL_bmp.c	Thu Aug 29 08:29:21 2013 -0700
     1.2 +++ b/src/video/SDL_bmp.c	Thu Aug 29 08:29:51 2013 -0700
     1.3 @@ -398,9 +398,7 @@
     1.4          if (src) {
     1.5              SDL_RWseek(src, fp_offset, RW_SEEK_SET);
     1.6          }
     1.7 -        if (surface) {
     1.8 -            SDL_FreeSurface(surface);
     1.9 -        }
    1.10 +        SDL_FreeSurface(surface);
    1.11          surface = NULL;
    1.12      }
    1.13      if (freesrc && src) {