X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=ncurses%2Ftinfo%2Fentries.c;h=c928f7ec2911aab5532f2aa5791d2b3c6e7d3725;hb=79b07cae47a6fa064aa4d2ea70fe930884751eb4;hp=794c519b8884283b9442eb9c6e3382bd26be98b7;hpb=02f1dee48fe8af6ce054388fba739aa4f975004e;p=ncurses.git diff --git a/ncurses/tinfo/entries.c b/ncurses/tinfo/entries.c index 794c519b..c928f7ec 100644 --- a/ncurses/tinfo/entries.c +++ b/ncurses/tinfo/entries.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 2006-2017,2019 Free Software Foundation, Inc. * + * Copyright 2019-2020,2021 Thomas E. Dickey * + * Copyright 2006-2012,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -37,7 +38,7 @@ #include -MODULE_ID("$Id: entries.c,v 1.29 2019/12/15 00:18:03 tom Exp $") +MODULE_ID("$Id: entries.c,v 1.32 2021/11/20 23:40:57 tom Exp $") /**************************************************************************** * @@ -121,7 +122,7 @@ _nc_leaks_tinfo(void) T((T_CALLED("_nc_free_tinfo()"))); #if NO_LEAKS _nc_globals.leak_checking = TRUE; - _nc_free_tparm(); + _nc_free_tparm(cur_term); _nc_tgetent_leaks(); if (TerminalOf(CURRENT_SCREEN) != 0) {