|
From: | Thomas Dickey |
Subject: | Re: memory leak - tgetent - ncurses 5.6 |
Date: | Wed, 8 Apr 2009 07:57:20 -0400 (EDT) |
On Wed, 8 Apr 2009, Steve Litt wrote:
Boy I sure wish this were a runtime option instead of compiled-in option. I haven't read the code, but if for production the programmer didn't use _nc_free_and_exit(), and if whatever else --compile provides was if'ed out unless a special configuration option was used, one could flip back and forth between test and production, and one wouldn't have to recompile the ncurses provided with a Linux distribution.
But: a) it makes the library run more slowly (and makes it bigger) b) it relies on auditing at exit (so far it seems that packagers don't want to introduce those issues) The same issue applies to the trace and _tracef, etc., functions. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
[Prev in Thread] | Current Thread | [Next in Thread] |