mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 08:16:21 +00:00
Cleaning up memory allocated by ncurses pads
This commit is contained in:
@@ -125,6 +125,13 @@ gui_refresh(void)
|
||||
void
|
||||
gui_close(void)
|
||||
{
|
||||
int i;
|
||||
for (i = 0; i < NUM_WINS; i++) {
|
||||
if (_wins[i].win != NULL) {
|
||||
delwin(_wins[i].win);
|
||||
}
|
||||
}
|
||||
|
||||
endwin();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user