[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] esx: Fix memory leak in esxVI_HostCpuIdInfo_Free()



---
 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);
-- 
1.6.0.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]