[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ncurses seems to be leaking memory?
From: |
Thomas Dickey |
Subject: |
Re: ncurses seems to be leaking memory? |
Date: |
Thu, 11 Jun 2020 16:49:45 -0400 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Thu, Jun 11, 2020 at 10:10:58PM +1000, Timothy Allen wrote:
> On 11/6/20 21:32, Benno Schulenberg wrote:
> > But this was with the ncurses supplied by the distro
> > (ncurses-6.1-1ubuntu1.1). I then tried with ncurses-6.2,
> > patch 20200418, which I had still installed in /usr/local.
>
> Was that version built with the --disable-leaks flag?
>
> https://invisible-island.net/ncurses/ncurses.faq.html#config_leaks
Even if it was, it only works as designed if the "permanent" leaks
are freed at the end of execution:
https://invisible-island.net/ncurses/man/curs_memleaks.3x.html
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: PGP signature