X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Ftinfo%2Fentries.c;h=c928f7ec2911aab5532f2aa5791d2b3c6e7d3725;hp=1c55bfec0b78d6988b5749267635683653135750;hb=461e72d1826483cb2c2cb243412f2dc5b00b2b1a;hpb=214f159cd8c0ea4fba47beb249379d0da2dfb8ca diff --git a/ncurses/tinfo/entries.c b/ncurses/tinfo/entries.c index 1c55bfec..c928f7ec 100644 --- a/ncurses/tinfo/entries.c +++ b/ncurses/tinfo/entries.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2019,2020 Thomas E. Dickey * + * 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 * @@ -38,7 +38,7 @@ #include -MODULE_ID("$Id: entries.c,v 1.30 2020/02/02 23:34:34 tom Exp $") +MODULE_ID("$Id: entries.c,v 1.32 2021/11/20 23:40:57 tom Exp $") /**************************************************************************** * @@ -122,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) {