[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] Readline cleanup (memory leaks)
From: |
Chet Ramey |
Subject: |
Re: [Bug-readline] Readline cleanup (memory leaks) |
Date: |
Sat, 18 Aug 2007 16:13:27 -0400 |
User-agent: |
Thunderbird 2.0.0.6 (Macintosh/20070728) |
Marko Lindqvist wrote:
> I run valgrind for freeciv (www.freeciv.org/) and got several reports
> about unfreed memory related to rl_initialize(). I wonder if we are
> using readline incorrectly (should some cleanup function been called?)
> or if these are actually readline problems.
>
> If it's not about wrong usage, I can send detailed reports. Call
> chain for all of them seems to start as:
> rl_initialize() -> _rl_init_terminal_io() -> tgetent()
This has come up before. The memory is being leaked by the ncurses
library, not readline.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/