[libvirt] [PATCH] esx: Fix memory leak in HostSystem managed object free function

Matthias Bolte matthias.bolte at googlemail.com
Tue Jan 11 20:41:39 UTC 2011


---
 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 4ee4110..f3df2b5 100644
--- a/src/esx/esx_vi_types.c
+++ b/src/esx/esx_vi_types.c
@@ -1806,6 +1806,7 @@ ESX_VI__TEMPLATE__FREE(HostSystem,
     VIR_FREE(item->name);
 
     /* HostSystem */
+    esxVI_HostConfigManager_Free(&item->configManager);
 })
 
 /* esxVI_HostSystem_Validate */
-- 
1.7.0.4




More information about the libvir-list mailing list