[libvirt] [PATCH 6/7] qemu: Fix possible memory leak in migration param processing
Peter Krempa
pkrempa at redhat.com
Wed Apr 18 07:23:52 UTC 2018
On Tue, Apr 17, 2018 at 12:22:17 -0400, John Ferlan wrote:
> If virJSONValueArraySize(caps) <= 0, then we will still need to
> virJSONValueFree(caps) because qemuMonitorSetMigrationCapabilities
> won't consume it.
>
> Found by Coverity
>
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
> src/qemu/qemu_migration_params.c | 1 +
> 1 file changed, 1 insertion(+)
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/20180418/4042180f/attachment-0001.sig>
More information about the libvir-list
mailing list