[libvirt] [PATCH] qemu: Avoid leak in qemuDomainCheckRemoveOptionalDisk
Eric Blake
eblake at redhat.com
Thu May 15 12:12:34 UTC 2014
On 05/15/2014 05:20 AM, 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
s/srouce/source/
> 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.
--
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/20140515/0eb14204/attachment-0001.sig>
More information about the libvir-list
mailing list