2.5: fix small memory leak when closing window with X-button rather than Ctrl+Q.

This commit is contained in:
Brecht Van Lommel 2008-12-19 00:43:37 +00:00
parent dfb8b21340
commit ea81c58429

@ -157,6 +157,7 @@ static void wm_window_close(bContext *C, wmWindow *win)
wmWindowManager *wm= CTX_wm_manager(C);
BLI_remlink(&wm->windows, win);
WM_event_remove_handlers(C, &win->handlers);
ED_screen_exit(C, win, win->screen);
wm_window_free(C, win);