Free windows on exit

This commit is contained in:
James Booth
2013-08-26 17:47:29 +01:00
parent 18d11f2bcf
commit bca379844d
4 changed files with 13 additions and 2 deletions

View File

@@ -455,3 +455,14 @@ wins_create_summary(void)
return result;
}
void
wins_destroy(void)
{
int i;
for (i = 0; i < NUM_WINS; i++) {
if (windows[i] != NULL) {
win_free(windows[i]);
}
}
}