Re: [PATCH] readline: fix memory leak in replacement readline.

2023-05-30 Thread Paul Eggert
Thanks, I installed that.

[PATCH] readline: fix memory leak in replacement readline.

2023-05-30 Thread Nick Bowler
The getline function allocates memory that has to be freed by the caller regardless of whether or not the call succeeds. This is the case at least on current GNU libc getline, and also the case with Gnulib's own replacement getline implementation. Gnulib's readline replacement, which calls getlin