[libvirt] [PATCH] esx: Fix memory leak in esxVI_HostCpuIdInfo_Free()
Daniel Veillard
veillard at redhat.com
Sun Nov 15 08:55:57 UTC 2009
On Sat, Nov 14, 2009 at 11:02:15PM +0100, Matthias Bolte wrote:
> ---
> src/esx/esx_vi_types.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/esx/esx_vi_types.c b/src/esx/esx_vi_types.c
> index 73d3069..9af9f73 100644
> --- a/src/esx/esx_vi_types.c
> +++ b/src/esx/esx_vi_types.c
> @@ -1496,6 +1496,7 @@ ESX_VI__TEMPLATE__FREE(HostCpuIdInfo,
> {
> esxVI_HostCpuIdInfo_Free(&item->_next);
>
> + esxVI_Int_Free(&item->level);
> VIR_FREE(item->vendor);
> VIR_FREE(item->eax);
> VIR_FREE(item->ebx);
ACK,
thanks !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list