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

Ján Tomko jtomko at redhat.com
Mon Feb 24 18:00:20 UTC 2014


On 02/24/2014 05:49 PM, Eric Blake wrote:
> 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
> 

Thank you, now pushed.

Jan


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140224/dc913b23/attachment-0001.sig>


More information about the libvir-list mailing list