mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Free win layout
This commit is contained in:
parent
5b26879e31
commit
f447ac4189
@ -330,6 +330,7 @@ win_free(ProfWin* window)
|
|||||||
buffer_free(window->layout->buffer);
|
buffer_free(window->layout->buffer);
|
||||||
delwin(window->layout->win);
|
delwin(window->layout->win);
|
||||||
}
|
}
|
||||||
|
free(window->layout);
|
||||||
|
|
||||||
if (window->type == WIN_CHAT) {
|
if (window->type == WIN_CHAT) {
|
||||||
ProfChatWin *chatwin = (ProfChatWin*)window;
|
ProfChatWin *chatwin = (ProfChatWin*)window;
|
||||||
|
Loading…
Reference in New Issue
Block a user