bug-readline
[Top][All Lists]
Advanced

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

Re: Memory leak when readline references history


From: Bruce Frost
Subject: Re: Memory leak when readline references history
Date: Tue, 5 Apr 2022 07:53:40 -0700

Great, thanks! 

Bruce.

On Tue, Apr 5, 2022, 7:40 AM Chet Ramey <chet.ramey@case.edu> wrote:
On 4/4/22 5:07 PM, Bruce Frost wrote:
> My simple application calls readline with history
> enabled and always adds the input to the history.
> If after entering a line, I use up-arrow to get
> the previously entered line and press enter,
> a memory leak occurs with the backtrace:
>
> In this output, the <up arrow> <Enter> was done
> twice resulting in two instances with the same backtrace.

Thanks for the report. This is fixed in the readline-8.2-alpha release.

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

reply via email to

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