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

@@ -57,8 +57,6 @@ win_free(ProfWin* window)
{
delwin(window->win);
free(window->from);
window->from = NULL;
window->win = NULL;
free(window);
window = NULL;
}