[libvirt] [PATCH] virsh: Don't leak buffer if GetFDs fails in cmdCreate
Eric Blake
eblake at redhat.com
Mon Feb 24 16:49:48 UTC 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140224/a0f5c298/attachment-0001.sig>
More information about the libvir-list
mailing list