mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-30 08:56:21 +00:00
Free win layout
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user