bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnu/98975: ncurses: tgetent leaks nearly 10 KB of memory every time


From: Thomas Dickey
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]