diff options
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 46d2e85c..e235dda5 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -331,6 +331,7 @@ win_free(ProfWin* window) buffer_free(window->layout->buffer); delwin(window->layout->win); } + free(window->layout); if (window->type == WIN_CHAT) { ProfChatWin *chatwin = (ProfChatWin*)window; |