SCCS-vsn: lib/libcurses/newwin.c 1.2
# endif
if ((win->_y = (char **) calloc(nl, sizeof (char *))) == NULL) {
cfree(win);
# endif
if ((win->_y = (char **) calloc(nl, sizeof (char *))) == NULL) {
cfree(win);
- return (WINDOW *) NULL;
}
if ((win->_firstch = calloc(nl, sizeof (short))) == NULL) {
cfree(win);
cfree(win->_y);
}
if ((win->_firstch = calloc(nl, sizeof (short))) == NULL) {
cfree(win);
cfree(win->_y);
}
if ((win->_lastch = calloc(nl, sizeof (short))) == NULL) {
cfree(win);
cfree(win->_y);
cfree(win->_firstch);
}
if ((win->_lastch = calloc(nl, sizeof (short))) == NULL) {
cfree(win);
cfree(win->_y);
cfree(win->_firstch);
}
# ifdef DEBUG
fprintf(outf, "MAKENEW: nc = %d\n", nc);
}
# ifdef DEBUG
fprintf(outf, "MAKENEW: nc = %d\n", nc);