about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-02-06 21:39:53 +0000
committerJames Booth <boothj5@gmail.com>2015-02-06 21:39:53 +0000
commitf447ac418983b94a71afecbd1d9057344adddee1 (patch)
tree0645bd930ab85767728d9e358b77b1d1fffef191
parent5b26879e3137c833baf393878d955420360b8edb (diff)
downloadprofani-tty-f447ac418983b94a71afecbd1d9057344adddee1.tar.gz
Free win layout
-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 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;