X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Ftinfo%2Fentries.c;h=0f86cab3c770e0630eeba50f54e402d167da2feb;hp=12674591bdd6d163771c9527dca28c796f3f62b0;hb=f8f67d02e909c4d165fbed2ba2810c94f2862548;hpb=5e1e572b71ae31a6071daa24e2460a68a6f1003c diff --git a/ncurses/tinfo/entries.c b/ncurses/tinfo/entries.c index 12674591..0f86cab3 100644 --- a/ncurses/tinfo/entries.c +++ b/ncurses/tinfo/entries.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2006-2012,2017 Free Software Foundation, Inc. * + * Copyright (c) 2006-2017,2019 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 +37,7 @@ #include -MODULE_ID("$Id: entries.c,v 1.23 2017/04/13 22:39:57 tom Exp $") +MODULE_ID("$Id: entries.c,v 1.27 2019/03/09 23:41:08 tom Exp $") /**************************************************************************** * @@ -120,15 +120,17 @@ _nc_leaks_tinfo(void) T((T_CALLED("_nc_free_tinfo()"))); #if NO_LEAKS + _nc_globals.leak_checking = TRUE; _nc_free_tparm(); _nc_tgetent_leaks(); if (TerminalOf(CURRENT_SCREEN) != 0) { del_curterm(TerminalOf(CURRENT_SCREEN)); } - free(_nc_prescreen.allocated); + _nc_forget_prescr(); _nc_comp_captab_leaks(); + _nc_comp_userdefs_leaks(); _nc_free_entries(_nc_head); _nc_get_type(0); _nc_first_name(0);