about summary refs log tree commit diff stats
path: root/src/ui/window.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-02-06 22:05:38 +0000
committerJames Booth <boothj5@gmail.com>2015-02-06 22:05:38 +0000
commitb7a8e7d942ef0c4f114c6d290c48c4286e846e4d (patch)
treed43dff1e89102487e88fbd473a3ecf1a350ab611 /src/ui/window.c
parentf08657fa9afee6ea74dfdb9660dd4d23f20ee43f (diff)
parentbec95afc8b4ba3d86b0a74d68285042c7c40948e (diff)
downloadprofani-tty-b7a8e7d942ef0c4f114c6d290c48c4286e846e4d.tar.gz
Merge branch 'master' into readline
Diffstat (limited to 'src/ui/window.c')
-rw-r--r--src/ui/window.c1
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;