X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/7edc52eca56cdeba9b74d0bc01ca4b0c27640b5a..b041ccece3687baa46a947a5695b634ef113edfd:/usr/src/usr.bin/window/wwclose.c diff --git a/usr/src/usr.bin/window/wwclose.c b/usr/src/usr.bin/window/wwclose.c index 114e72b435..6c5bea9606 100644 --- a/usr/src/usr.bin/window/wwclose.c +++ b/usr/src/usr.bin/window/wwclose.c @@ -1,7 +1,13 @@ #ifndef lint -static char sccsid[] = "@(#)wwclose.c 3.11 %G%"; +static char sccsid[] = "@(#)wwclose.c 3.13 %G%"; #endif +/* + * Copyright (c) 1983 Regents of the University of California, + * All rights reserved. Redistribution permitted subject to + * the terms of the Berkeley Software License Agreement. + */ + #include "ww.h" #include @@ -14,7 +20,7 @@ register struct ww *w; if (w->ww_socket >= 0) (void) close(w->ww_socket); wwfree((char **)w->ww_win, w->ww_w.t); - wwfree((char **)w->ww_buf, w->ww_w.t); + wwfree((char **)w->ww_buf, w->ww_b.t); if (w->ww_fmap != 0) wwfree((char **)w->ww_fmap, w->ww_w.t); free((char *)(w->ww_nvis + w->ww_w.t));