src/video/directfb/SDL_DirectFB_window.c
changeset 7720 f9a649383362
parent 7678 286c42d7c5ed
child 8093 b43765095a6f
     1.1 --- a/src/video/directfb/SDL_DirectFB_window.c	Thu Aug 29 08:29:21 2013 -0700
     1.2 +++ b/src/video/directfb/SDL_DirectFB_window.c	Thu Aug 29 08:29:51 2013 -0700
     1.3 @@ -237,8 +237,7 @@
     1.4      }
     1.5      return;
     1.6    error:
     1.7 -    if (surface)
     1.8 -        SDL_FreeSurface(surface);
     1.9 +    SDL_FreeSurface(surface);
    1.10      SDL_DFB_RELEASE(windata->icon);
    1.11      return;
    1.12  }