src/video/windows/SDL_windowsevents.c
changeset 7631 9fcda7425ccc
parent 7561 65f2b183e2aa
child 7645 cc775832d501
     1.1 --- a/src/video/windows/SDL_windowsevents.c	Sat Aug 10 23:14:20 2013 +0200
     1.2 +++ b/src/video/windows/SDL_windowsevents.c	Sat Aug 10 23:21:06 2013 +0200
     1.3 @@ -689,6 +689,9 @@
     1.4  
     1.5                  if (!GetClientRect(hwnd, &rect) ||
     1.6                      (rect.right == rect.left && rect.bottom == rect.top)) {
     1.7 +                    if (inputs) {
     1.8 +                        SDL_stack_free(inputs);
     1.9 +                    }
    1.10                      break;
    1.11                  }
    1.12                  ClientToScreen(hwnd, (LPPOINT) & rect);