|
From: | Bruce Frost |
Subject: | Re: Memory leak when readline references history |
Date: | Tue, 5 Apr 2022 07:53:40 -0700 |
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/
[Prev in Thread] | Current Thread | [Next in Thread] |