[libvirt] [PATCH] qemu: Fix memory leak in qemuConnectGetAllDomainStats error path

Peter Krempa pkrempa at redhat.com
Wed Mar 7 15:04:27 UTC 2018


On Wed, Mar 07, 2018 at 09:46:53 -0500, John Ferlan wrote:
> If we return -1 on VIR_ALLOC_N failure, we leaked @vms, so
> goto cleanup instead.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/qemu/qemu_driver.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180307/32df470c/attachment-0001.sig>


More information about the libvir-list mailing list