Re: [PATCH] leak in rl_filename_completion_function

2023-07-05 Thread Chet Ramey
On 7/5/23 3:25 PM, Grisha Levit wrote: On Wed, May 31, 2023 at 6:23 PM Grisha Levit wrote: If rl_filename_rewrite_hook returns a new string for a filename (which I guess only happens on macOS with bash), it is in most cases not free-d. I think this one got dropped. I think this one might h

Re: [PATCH] leak in rl_filename_completion_function

2023-07-05 Thread Grisha Levit
On Wed, May 31, 2023 at 6:23 PM Grisha Levit wrote: > > If rl_filename_rewrite_hook returns a new string for a filename (which > I guess only happens on macOS with bash), it is in most cases not > free-d. > diff --git a/lib/readline/complete.c b/lib/readline/complete.c > index bf7cc856..99556a35