curses status cleanup
Stop the last of the memory leaks occuring during basic usage.
This commit is contained in:
@@ -313,9 +313,7 @@ curses_del_nhwin(winid wid)
|
||||
return;
|
||||
}
|
||||
if (wid == MESSAGE_WIN) {
|
||||
curses_teardown_messages();
|
||||
} else if (wid == STATUS_WIN) {
|
||||
curses_teardown_status();
|
||||
curses_teardown_messages();
|
||||
}
|
||||
nhwins[wid].curwin = NULL;
|
||||
nhwins[wid].nhwin = -1;
|
||||
|
||||
Reference in New Issue
Block a user