bug-bash
[Top][All Lists]
Advanced

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

Re: [PATCH] execute-named-command: fix small leaks


From: Chet Ramey
Subject: Re: [PATCH] execute-named-command: fix small leaks
Date: Wed, 22 May 2024 10:55:38 -0400
User-agent: Mozilla Thunderbird

On 5/21/24 11:32 AM, Grisha Levit wrote:
- free command if it is the empty string
- free command before calling bound function, in case bound function
   does not return, like rl_abort

Thanks for the report. I don't want to ring the bell if the command is
the empty string, so I did this slightly differently.


--
``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/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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