[Top][All Lists]

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

[Bug-readline] Readline cleanup (memory leaks)

From: Marko Lindqvist
Subject: [Bug-readline] Readline cleanup (memory leaks)
Date: Tue, 7 Aug 2007 13:38:33 +0300

 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()

> dpkg -s libreadline5
Package: libreadline5
Status: install ok installed
Priority: important
Section: libs
Installed-Size: 336
Maintainer: Matthias Klose <address@hidden>
Architecture: amd64
Source: readline5
Version: 5.2-3
Depends: readline-common, libc6 (>= 2.5-5), libncurses5 (>= 5.4-5)
Description: GNU readline and history libraries, run-time libraries
 The GNU readline library aids in the consistency of user interface
 across discrete programs that need to provide a command line
 The GNU history library provides a consistent user interface for
 recalling lines of previously typed input.

 - ML

reply via email to

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