gnu/98975: ncurses: tgetent leaks nearly 10 KB of memory every time it is called

Thomas Dickey dickey at his.com
Sun Jun 18 00:20:25 UTC 2006


The following reply was made to PR gnu/98975; it has been noted by GNATS.

From: Thomas Dickey <dickey at his.com>
To: Matt <freebsdbugs at fjarlq.com>
Cc: bug-followup at FreeBSD.org, Ncurses Mailing List <bug-ncurses at gnu.org>,
        screen-devel at gnu.org
Subject: Re: gnu/98975: ncurses: tgetent leaks nearly 10 KB of memory every
 time it is called
Date: Sat, 17 Jun 2006 20:14:59 -0400 (EDT)

 On Sat, 17 Jun 2006, Matt wrote:
 
 > FreeBSD bug report: http://www.freebsd.org/cgi/query-pr.cgi?pr=98975
 >
 > Dear FreeBSD, GNU ncurses, and GNU screen folks,
 >
 > I wrote earlier that the 10 KB per call memory leak in tgetent seems
 > to be fixed in ncurses version 5.5. That's still true, however I
 > have since learned that the leak is only fixed if tgetent is called
 > with the same terminal name each time. If the terminal name changes,
 > for example alternating tgetent calls for "vt100" and "sun", it
 > leaks memory, again about 10 KB per call.
 
 ok - something for next week (I did some fixes for the small leaks today).
 
 -- 
 Thomas E. Dickey
 http://invisible-island.net
 ftp://invisible-island.net


More information about the freebsd-bugs mailing list