[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Memory leak when readline references history
From: |
Chet Ramey |
Subject: |
Re: Memory leak when readline references history |
Date: |
Tue, 5 Apr 2022 10:40:31 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 |
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/