[libvirt] [PATCH] hyperv: Avoid Coverity warning about resource leak in hypervOpen

Eric Blake eblake at redhat.com
Thu Jan 10 22:29:10 UTC 2013


On 01/10/2013 02:48 PM, Matthias Bolte wrote:
> Coverity tagged the esxhypervPrivate pointer a potentially leaked

You already fixed this typo..

> because of the conditional free call. But this is a false positive,
> there is not actual leak.
> 
> Avoid the conditial code to make this more obvious to Coverity.

but be sure you also s/conditial/conditional/

> ---
> 
> This patch is meant as a replacement for this patch
> 
> https://www.redhat.com/archives/libvir-list/2013-January/msg00542.html

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: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130110/fdf79256/attachment-0001.sig>


More information about the libvir-list mailing list