From: Matthias Bolte Date: Sun, 9 Sep 2012 10:44:20 +0000 (+0200) Subject: esx: Remove unused variable from esxDomainGetAutostart X-Git-Tag: CVE-2012-4423~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa7c4068a8480b975fe19715b15e4a995fa22fab;p=thirdparty%2Flibvirt.git esx: Remove unused variable from esxDomainGetAutostart --- diff --git a/src/esx/esx_driver.c b/src/esx/esx_driver.c index 28e2c65695..991f03cea7 100644 --- a/src/esx/esx_driver.c +++ b/src/esx/esx_driver.c @@ -3363,7 +3363,6 @@ esxDomainGetAutostart(virDomainPtr domain, int *autostart) esxPrivate *priv = domain->conn->privateData; esxVI_AutoStartDefaults *defaults = NULL; esxVI_String *propertyNameList = NULL; - esxVI_ObjectContent *hostAutoStartManager = NULL; esxVI_AutoStartPowerInfo *powerInfo = NULL; esxVI_AutoStartPowerInfo *powerInfoList = NULL; esxVI_ObjectContent *virtualMachine = NULL; @@ -3417,7 +3416,6 @@ esxDomainGetAutostart(virDomainPtr domain, int *autostart) cleanup: esxVI_String_Free(&propertyNameList); - esxVI_ObjectContent_Free(&hostAutoStartManager); esxVI_AutoStartDefaults_Free(&defaults); esxVI_AutoStartPowerInfo_Free(&powerInfoList); esxVI_ObjectContent_Free(&virtualMachine);