[libvirt] [PATCH] esx: Avoid Coverity warning about resource leak in esxOpen
Matthias Bolte
matthias.bolte at googlemail.com
Sat Feb 2 11:51:30 UTC 2013
2013/1/22 John Ferlan <jferlan at redhat.com>:
> This issue (and the same for hyperv) was tracked down to a Coverity
> problem. For context see:
>
> https://www.redhat.com/archives/libvir-list/2013-January/msg01504.html
>
> Essentially the esxFreePrivate(&priv); and subsequent VIR_FREE(*priv)
> caused the issue.
>
> Also see: https://communities.coverity.com/thread/2655
>
> John
Thanks for figuring out the real cause.
But I still like the code simplification in my patch. So I changed the
commit message and pushed it.
--
Matthias Bolte
http://photron.blogspot.com
More information about the libvir-list
mailing list