From f447ac418983b94a71afecbd1d9057344adddee1 Mon Sep 17 00:00:00 2001 From: James Booth Date: Fri, 6 Feb 2015 21:39:53 +0000 Subject: [PATCH] Free win layout --- src/ui/window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/window.c b/src/ui/window.c index dfec5aab..54f1b99f 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -330,6 +330,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;