]> xenbits.xensource.com Git - libvirt.git/commitdiff
esx: Fix memory leak in HostSystem managed object free function
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 8 Jan 2011 13:59:01 +0000 (14:59 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 12 Jan 2011 21:38:42 +0000 (22:38 +0100)
src/esx/esx_vi_types.c

index 4ee4110d571c28313853e693eed873e2bf543a44..f3df2b5510ae343a4b317cd3241b945762fbbe55 100644 (file)
@@ -1806,6 +1806,7 @@ ESX_VI__TEMPLATE__FREE(HostSystem,
     VIR_FREE(item->name);
 
     /* HostSystem */
+    esxVI_HostConfigManager_Free(&item->configManager);
 })
 
 /* esxVI_HostSystem_Validate */