src/video/windows/SDL_windowsmessagebox.c
changeset 7719 31b5f9ff36ca
parent 7191 75360622e65f
child 7828 1451063c8ecd
     1.1 --- a/src/video/windows/SDL_windowsmessagebox.c	Thu Aug 29 08:27:25 2013 -0700
     1.2 +++ b/src/video/windows/SDL_windowsmessagebox.c	Thu Aug 29 08:29:21 2013 -0700
     1.3 @@ -233,9 +233,7 @@
     1.4  
     1.5  static void FreeDialogData(WIN_DialogData *dialog)
     1.6  {
     1.7 -    if (dialog->data) {
     1.8 -        SDL_free(dialog->data);
     1.9 -    }
    1.10 +    SDL_free(dialog->data);
    1.11      SDL_free(dialog);
    1.12  }
    1.13