From e52ae7d7cb3b9267a450ee786b056b14391f2f50 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 2 Mar 1999 06:23:57 +0000 Subject: ncurses-4.2-990301 --- lib/libcurses/tinfo/lib_cur_term.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'lib/libcurses/tinfo/lib_cur_term.c') diff --git a/lib/libcurses/tinfo/lib_cur_term.c b/lib/libcurses/tinfo/lib_cur_term.c index 0429da48316..782c1fff767 100644 --- a/lib/libcurses/tinfo/lib_cur_term.c +++ b/lib/libcurses/tinfo/lib_cur_term.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lib_cur_term.c,v 1.1 1999/01/18 19:10:17 millert Exp $ */ +/* $OpenBSD: lib_cur_term.c,v 1.2 1999/03/02 06:23:28 millert Exp $ */ /**************************************************************************** * Copyright (c) 1998 Free Software Foundation, Inc. * @@ -39,10 +39,10 @@ */ #include -#include /* TTY, cur_term */ +#include /* TTY, cur_term */ #include /* ospeed */ -MODULE_ID("$From: lib_cur_term.c,v 1.6 1999/01/10 00:48:44 tom Exp $") +MODULE_ID("$From: lib_cur_term.c,v 1.7 1999/02/22 18:41:09 tom Exp $") TERMINAL *cur_term; @@ -62,8 +62,7 @@ int del_curterm(TERMINAL *term) T((T_CALLED("del_curterm(%p)"), term)); if (term != 0) { - FreeIfNeeded(term->type.str_table); - FreeIfNeeded(term->type.term_names); + _nc_free_termtype(&(term->type)); free(term); if (term == cur_term) cur_term = 0; -- cgit v1.2.3