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

Re: [libvirt] [PATCH] virsh: Don't leak buffer if GetFDs fails in cmdCreate



On 02/24/2014 06:29 AM, Ján Tomko wrote:
> Change the logic of the function to return false by default
> and move the freeing of the buffer to the cleanup section.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1067338
> ---
>  tools/virsh-domain.c | 29 ++++++++++++++++-------------
>  1 file changed, 16 insertions(+), 13 deletions(-)
> 

ACK

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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