[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ncurses: tgetent leaks nearly 10 KB of memory every time it is called
From: |
Matt |
Subject: |
ncurses: tgetent leaks nearly 10 KB of memory every time it is called |
Date: |
Thu, 15 Jun 2006 02:24:35 -0700 |
User-agent: |
Mutt/1.4.2.1i |
Dear GNU ncurses maintainers,
Sorry about the scary subject -- that's only a true statement for
the old version of ncurses (5.2-20020615) that the latest version
of FreeBSD (6.1) still uses for their standard curses library.
I think you've fixed that enormous leak already.
However, in ncurses 5.5 there still seems to be a very slow leak
in tgetent. I mentioned that in the bug report I filed to FreeBSD:
http://www.freebsd.org/cgi/query-pr.cgi?pr=98975
I clock it leaking 4 KB for every 200 calls to tgetent, or about
20 bytes per call. Sorry, I don't have any more time to investigate
it, but I figured I should drop you a note. If you write a little
program that calls tgetent(NULL, "vt100") repeatedly you should
be able to confirm or deny my observation.
Thanks,
Matt
- ncurses: tgetent leaks nearly 10 KB of memory every time it is called,
Matt <=