[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Does ncurses work with work with valgrind yet, without recompiling?
From: |
Thomas Dickey |
Subject: |
Re: Does ncurses work with work with valgrind yet, without recompiling? |
Date: |
Sat, 10 Aug 2013 05:57:57 -0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Fri, Aug 09, 2013 at 09:48:30PM -0400, Steve Litt wrote:
> Hi all,
>
> Did ncurses ever acquire a runtime flag to disable that one-time memory
> leak that Valgrind complains about?
no - the closest it gets is using the --disable-leaks configure option,
which tells it to discard some items that are normally allocated once
for efficiency. The bulk of the allocations are "permanent", and (until
my changes to buffering a year ago), some of that (setbuf) could only be
freed once - right before exit).
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature