On 3/6/16 7:56 AM, Timothe Litt wrote:
> readline 6.3 under Fedora Linux.
> (same failures with 6.2)
>
> Any trivial program using readline leaks memory.
These are not leaks; this is simply allocated memory to which the
application still has a handle when the program exits.
> There is also a reference to uninitialized memory.
I can't reproduce this using readline-7.0-rc1 on Mac OS X or RHEL 6.
Please provide a reference (no pun intended) to the uninitialized read.
> I suggest that readline establish an "atexit" function during initialization
> that will cleanup... or (less desirable) provide a suitable function
> for the
> application to call "atexit".
I may add something like this in a future version.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline