[libvirt] [PATCH] qemu: Avoid leak in qemuDomainCheckRemoveOptionalDisk

Peter Krempa pkrempa at redhat.com
Thu May 15 12:10:07 UTC 2014


On 05/15/14 13:20, Jiri Denemark wrote:
> Coverity complains about event being leaked in
> qemuDomainCheckRemoveOptionalDisk. The best fix for it is to avoid
> searching for the disk (using its srouce path even) we got by walking
> through vm->def->disks array.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/qemu/qemu_domain.c | 25 ++++++++++---------------
>  1 file changed, 10 insertions(+), 15 deletions(-)
> 

ACK,

Peter

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


More information about the libvir-list mailing list