Optimize delwin a bit

This commit is contained in:
Andrey A. Chernov 1994-10-26 07:13:51 +00:00
parent 7a1b8974a7
commit d8cfe10818

View File

@ -27,9 +27,10 @@ int i;
free(win->_firstchar);
free(win->_lastchar);
free(win->_line);
free(win);
touchwin(curscr);
touchwin((win->_flags & _SUBWIN) ? win->_parent : curscr);
free(win);
return(OK);
}