[Top][All Lists]

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

Re: Could --disable-leaks be made a runtime switch?

From: Thomas Dickey
Subject: Re: Could --disable-leaks be made a runtime switch?
Date: Tue, 12 Feb 2008 11:01:24 -0500 (EST)

On Tue, 12 Feb 2008, Avery Pennarun wrote:

On 11/02/2008, Steve Litt <address@hidden> wrote:
nCurses can be made to work right with Valgrind during compile
by ./configure --disable-leaks. Trouble is, I have to have two different

Would it be difficult to have make the --disable-leaks decision at runtime
rather than at compile time? That way I could use just one nCurses --
presumably the one that my distro uses to make all their tools.

Isn't there a function you can call at the end of your program that
does the same thing as --disable-leaks?  I seem to remember using such
a thing in the past.

There are a few functions that can be called to free up the "permanent"
memory, but that's part of the --disable-leaks feature.

Thomas E. Dickey

reply via email to

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