1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Free win layout

This commit is contained in:
James Booth 2015-02-06 21:39:53 +00:00
parent 5b26879e31
commit f447ac4189

View File

@ -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;