]> xenbits.xensource.com Git - libvirt.git/commitdiff
esx: Fix memory leak in esxVI_HostCpuIdInfo_Free()
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 14 Nov 2009 21:45:38 +0000 (22:45 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Sun, 15 Nov 2009 14:22:07 +0000 (15:22 +0100)
src/esx/esx_vi_types.c

index 73d306929b2c62bf374ffdc8b729e087f20e2178..9af9f7399d80ab81dd21c14d018860f863c8a3fc 100644 (file)
@@ -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);