more curses memory
Message history now cleaned up at game end. Status window cleanup is not taking place because the core is suppressing it #if STATUS_HILITES.
This commit is contained in:
@@ -57,6 +57,20 @@ curses_status_init()
|
||||
genl_status_init();
|
||||
}
|
||||
|
||||
void
|
||||
curses_teardown_status()
|
||||
{
|
||||
#ifdef STATUS_HILITES
|
||||
int i;
|
||||
|
||||
for (i = 0; i < MAXBLSTATS; ++i) {
|
||||
free(status_vals_long[i]);
|
||||
status_vals_long[i] = (char *) 0;
|
||||
}
|
||||
#endif /* STATUS_HILITES */
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* *_status_update()
|
||||
* -- update the value of a status field.
|
||||
|
||||
Reference in New Issue
Block a user