}
}
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&datastoreList);
esxVI_DatastoreHostMount_Free(&hostMount);
success = true;
- cleanup:
+ cleanup:
if (! success) {
virBufferFreeAndReset(&buffer);
VIR_FREE(result);
result = 0;
- cleanup:
+ cleanup:
esxVI_FileInfo_Free(&fileInfo);
return result;
}
}
- cleanup:
+ cleanup:
/*
* If we goto cleanup in case of an error then priv->supportsLongMode
* is still esxVI_Boolean_Undefined, therefore we don't need to set it.
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&hostSystem);
return caps;
- failure:
+ failure:
virObjectUnref(caps);
return NULL;
result = 0;
- cleanup:
+ cleanup:
VIR_FREE(username);
VIR_FREE(unescapedPassword);
VIR_FREE(password);
result = 0;
- cleanup:
+ cleanup:
VIR_FREE(username);
VIR_FREE(unescapedPassword);
VIR_FREE(password);
priv = NULL;
result = VIR_DRV_OPEN_SUCCESS;
- cleanup:
+ cleanup:
esxFreePrivate(&priv);
VIR_FREE(potentialVCenterIpAddress);
goto cleanup;
}
- cleanup:
+ cleanup:
/*
* If we goto cleanup in case of an error then priv->supportsVMotion is
* still esxVI_Boolean_Undefined, therefore we don't need to set it.
goto cleanup;
}
- cleanup:
+ cleanup:
/*
* If we goto cleanup in case of an error then complete is still NULL,
* either VIR_STRDUP returned -1 or virAsprintf failed. When virAsprintf
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&hostSystem);
success = true;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&virtualMachineList);
virReportError(VIR_ERR_NO_DOMAIN, _("No domain with ID %d"), id);
}
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&virtualMachineList);
VIR_FREE(name_candidate);
domain->id = -1;
}
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&virtualMachine);
VIR_FREE(name);
domain->id = -1;
}
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&virtualMachine);
result = 0;
- cleanup:
+ cleanup:
esxVI_ObjectContent_Free(&virtualMachine);
esxVI_String_Free(&propertyNameList);
esxVI_ManagedObjectReference_Free(&task);
result = 0;
- cleanup:
+ cleanup:
esxVI_ObjectContent_Free(&virtualMachine);
esxVI_String_Free(&propertyNameList);
esxVI_ManagedObjectReference_Free(&task);
result = 0;
- cleanup:
+ cleanup:
esxVI_ObjectContent_Free(&virtualMachine);
esxVI_String_Free(&propertyNameList);
result = 0;
- cleanup:
+ cleanup:
esxVI_ObjectContent_Free(&virtualMachine);
esxVI_String_Free(&propertyNameList);
domain->id = -1;
result = 0;
- cleanup:
+ cleanup:
esxVI_ObjectContent_Free(&virtualMachine);
esxVI_String_Free(&propertyNameList);
esxVI_ManagedObjectReference_Free(&task);
}
}
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&virtualMachine);
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&virtualMachine);
esxVI_VirtualMachineConfigSpec_Free(&spec);
result = 0;
- cleanup:
+ cleanup:
esxVI_ObjectContent_Free(&virtualMachine);
esxVI_VirtualMachineConfigSpec_Free(&spec);
esxVI_ManagedObjectReference_Free(&task);
result = 0;
- cleanup:
+ cleanup:
#if ESX_QUERY_FOR_USED_CPU_TIME
/*
* Remove values owned by data structures to prevent them from being freed
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&virtualMachine);
result = 0;
- cleanup:
+ cleanup:
esxVI_ObjectContent_Free(&virtualMachine);
esxVI_VirtualMachineConfigSpec_Free(&spec);
esxVI_ManagedObjectReference_Free(&task);
}
}
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&hostSystem);
xml = virDomainDefFormat(def, flags);
}
- cleanup:
+ cleanup:
if (!url) {
virBufferFreeAndReset(&buffer);
}
success = true;
- cleanup:
+ cleanup:
if (! success) {
for (i = 0; i < count; ++i) {
VIR_FREE(names[i]);
domain->id = id;
result = 0;
- cleanup:
+ cleanup:
esxVI_ObjectContent_Free(&virtualMachine);
esxVI_String_Free(&propertyNameList);
esxVI_ManagedObjectReference_Free(&task);
/* FIXME: Add proper rollback in case of an error */
- cleanup:
+ cleanup:
if (!url) {
virBufferFreeAndReset(&buffer);
}
result = 0;
- cleanup:
+ cleanup:
esxVI_ObjectContent_Free(&virtualMachine);
esxVI_String_Free(&propertyNameList);
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_AutoStartDefaults_Free(&defaults);
esxVI_AutoStartPowerInfo_Free(&powerInfoList);
result = 0;
- cleanup:
+ cleanup:
if (newPowerInfo) {
newPowerInfo->key = NULL;
newPowerInfo->startAction = NULL;
*nparams = i;
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&virtualMachine);
result = 0;
- cleanup:
+ cleanup:
esxVI_SharesInfo_Free(&sharesInfo);
esxVI_ObjectContent_Free(&virtualMachine);
esxVI_VirtualMachineConfigSpec_Free(&spec);
result = 0;
- cleanup:
+ cleanup:
virURIFree(parsedUri);
esxVI_ObjectContent_Free(&virtualMachine);
esxVI_Event_Free(&eventList);
result = resourcePoolResourceUsage->unreservedForVm->value;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&resourcePool);
esxVI_ResourcePoolResourceUsage_Free(&resourcePoolResourceUsage);
result = 0;
}
- cleanup:
+ cleanup:
esxVI_ObjectContent_Free(&virtualMachine);
esxVI_String_Free(&propertyNameList);
result = 1;
-cleanup:
+ cleanup:
esxVI_ObjectContent_Free(&virtualMachine);
return result;
result = 0;
-cleanup:
+ cleanup:
esxVI_ObjectContent_Free(&virtualMachine);
return result;
snapshot = virGetDomainSnapshot(domain, def->name);
- cleanup:
+ cleanup:
virDomainSnapshotDefFree(def);
esxVI_ObjectContent_Free(&virtualMachine);
esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotList);
xml = virDomainSnapshotDefFormat(uuid_string, &def, flags, 0);
- cleanup:
+ cleanup:
esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotList);
return xml;
count = esxVI_GetNumberOfSnapshotTrees(snapshotTree->childSnapshotList,
recurse, leaves);
-cleanup:
+ cleanup:
esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotTreeList);
return count;
result = esxVI_GetSnapshotTreeNames(snapshotTree->childSnapshotList,
names, nameslen, recurse, leaves);
-cleanup:
+ cleanup:
esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotTreeList);
return result;
snapshot = virGetDomainSnapshot(domain, name);
- cleanup:
+ cleanup:
esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotTreeList);
return snapshot;
parent = virGetDomainSnapshot(snapshot->domain, snapshotTreeParent->name);
-cleanup:
+ cleanup:
esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotList);
return parent;
ret = STREQ(snapshot->name, currentSnapshotTree->name);
-cleanup:
+ cleanup:
esxVI_VirtualMachineSnapshotTree_Free(¤tSnapshotTree);
esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotList);
return ret;
ret = 0;
-cleanup:
+ cleanup:
esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotList);
return ret;
}
result = 0;
- cleanup:
+ cleanup:
esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotList);
esxVI_ManagedObjectReference_Free(&task);
VIR_FREE(taskInfoErrorMessage);
result = 0;
- cleanup:
+ cleanup:
esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotList);
esxVI_ManagedObjectReference_Free(&task);
VIR_FREE(taskInfoErrorMessage);
result = 0;
- cleanup:
+ cleanup:
esxVI_ObjectContent_Free(&virtualMachine);
esxVI_VirtualMachineConfigSpec_Free(&spec);
esxVI_ManagedObjectReference_Free(&task);
*nparams = 1;
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&virtualMachine);
esxVI_Long_Free(&reservation);
doms = NULL;
ret = count;
-cleanup:
+ cleanup:
if (doms) {
for (id = 0; id < count; id++) {
virDomainFree(doms[id]);
success = true;
- cleanup:
+ cleanup:
if (! success) {
for (i = 0; i < count; ++i) {
VIR_FREE(names[i]);
xml = virInterfaceDefFormat(&def);
- cleanup:
+ cleanup:
esxVI_PhysicalNic_Free(&physicalNic);
return xml;
success = true;
- cleanup:
+ cleanup:
if (! success) {
for (i = 0; i < count; ++i) {
VIR_FREE(names[i]);
network = virGetNetwork(conn, hostVirtualSwitch->name, uuid);
- cleanup:
+ cleanup:
esxVI_HostVirtualSwitch_Free(&hostVirtualSwitchList);
return network;
result = 0;
- cleanup:
+ cleanup:
if (result < 0) {
esxVI_HostNetworkTrafficShapingPolicy_Free(shapingPolicy);
}
network = virGetNetwork(conn, hostVirtualSwitch->name, md5);
- cleanup:
+ cleanup:
virNetworkDefFree(def);
esxVI_HostVirtualSwitch_Free(&hostVirtualSwitch);
esxVI_HostPortGroup_Free(&hostPortGroupList);
result = 0;
- cleanup:
+ cleanup:
esxVI_HostVirtualSwitch_Free(&hostVirtualSwitch);
esxVI_HostPortGroup_Free(&hostPortGroupList);
xml = virNetworkDefFormat(def, flags);
- cleanup:
+ cleanup:
esxVI_HostVirtualSwitch_Free(&hostVirtualSwitch);
esxVI_PhysicalNic_Free(&physicalNicList);
esxVI_HostPortGroup_Free(&hostPortGroupList);
success = true;
- cleanup:
+ cleanup:
esxVI_HostInternetScsiHba_Free(&hostInternetScsiHba);
return success ? count : -1;
success = true;
- cleanup:
+ cleanup:
if (! success) {
for (i = 0; i < count; ++i) {
VIR_FREE(names[i]);
pool = virGetStoragePool(conn, name, md5, &esxStorageBackendISCSI, NULL);
- cleanup:
+ cleanup:
esxVI_HostInternetScsiHbaStaticTarget_Free(&target);
return pool;
pool = virGetStoragePool(conn, target->iScsiName, md5,
&esxStorageBackendISCSI, NULL);
- cleanup:
+ cleanup:
esxVI_HostInternetScsiHba_Free(&hostInternetScsiHba);
return pool;
result = 0;
- cleanup:
+ cleanup:
esxVI_HostInternetScsiHba_Free(&hostInternetScsiHba);
return result;
/* TODO: add CHAP authentication params */
xml = virStoragePoolDefFormat(&def);
- cleanup:
+ cleanup:
VIR_FREE(def.source.hosts);
esxVI_HostInternetScsiHba_Free(&hostInternetScsiHba);
success = true;
- cleanup:
+ cleanup:
if (! success) {
for (i = 0; i < count; ++i) {
VIR_FREE(names[i]);
}
}
- cleanup:
+ cleanup:
esxVI_ScsiLun_Free(&scsiLunList);
return volume;
}
}
- cleanup:
+ cleanup:
esxVI_ScsiLun_Free(&scsiLunList);
VIR_FREE(poolName);
}
}
- cleanup:
+ cleanup:
esxVI_ScsiLun_Free(&scsiLunList);
VIR_FREE(poolName);
xml = virStorageVolDefFormat(&pool, &def);
- cleanup:
+ cleanup:
esxVI_ScsiLun_Free(&scsiLunList);
VIR_FREE(def.key);
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&datastore);
esxVI_DatastoreInfo_Free(&datastoreInfo);
success = true;
- cleanup:
+ cleanup:
if (! success) {
for (i = 0; i < count; ++i) {
VIR_FREE(names[i]);
pool = virGetStoragePool(conn, name, md5, &esxStorageBackendVMFS, NULL);
- cleanup:
+ cleanup:
esxVI_ObjectContent_Free(&datastore);
esxVI_DatastoreHostMount_Free(&hostMount);
pool = virGetStoragePool(conn, name, uuid, &esxStorageBackendVMFS, NULL);
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&datastoreList);
esxVI_DatastoreHostMount_Free(&hostMount);
result = 0;
- cleanup:
+ cleanup:
esxVI_ObjectContent_Free(&datastore);
return result;
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&datastore);
xml = virStoragePoolDefFormat(&def);
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&datastore);
esxVI_DatastoreHostMount_Free(&hostMount);
success = true;
- cleanup:
+ cleanup:
esxVI_HostDatastoreBrowserSearchResults_Free(&searchResultsList);
return success ? count : -1;
success = true;
- cleanup:
+ cleanup:
if (! success) {
for (i = 0; i < count; ++i) {
VIR_FREE(names[i]);
volume = virGetStorageVol(pool->conn, pool->name, name, key,
&esxStorageBackendVMFS, NULL);
- cleanup:
+ cleanup:
VIR_FREE(datastorePath);
VIR_FREE(key);
volume = virGetStorageVol(conn, datastoreName, directoryAndFileName, key,
&esxStorageBackendVMFS, NULL);
- cleanup:
+ cleanup:
VIR_FREE(datastoreName);
VIR_FREE(directoryAndFileName);
VIR_FREE(key);
}
}
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&datastoreList);
esxVI_HostDatastoreBrowserSearchResults_Free(&searchResultsList);
volume = virGetStorageVol(pool->conn, pool->name, def->name, key,
&esxStorageBackendVMFS, NULL);
- cleanup:
+ cleanup:
if (virtualDiskSpec) {
virtualDiskSpec->diskType = NULL;
virtualDiskSpec->adapterType = NULL;
volume = virGetStorageVol(pool->conn, pool->name, def->name, key,
&esxStorageBackendVMFS, NULL);
- cleanup:
+ cleanup:
VIR_FREE(sourceDatastorePath);
virStorageVolDefFree(def);
VIR_FREE(unescapedDatastorePath);
result = 0;
- cleanup:
+ cleanup:
VIR_FREE(datastorePath);
esxVI_ManagedObjectReference_Free(&task);
VIR_FREE(taskInfoErrorMessage);
result = 0;
- cleanup:
+ cleanup:
VIR_FREE(datastorePath);
esxVI_ManagedObjectReference_Free(&task);
VIR_FREE(taskInfoErrorMessage);
result = 0;
- cleanup:
+ cleanup:
VIR_FREE(datastorePath);
esxVI_FileInfo_Free(&fileInfo);
xml = virStorageVolDefFormat(&pool, &def);
- cleanup:
+ cleanup:
VIR_FREE(datastorePath);
esxVI_FileInfo_Free(&fileInfo);
VIR_FREE(def.key);
success = true;
- cleanup:
+ cleanup:
if (! success) {
for (i = 0; i < count; ++i) {
VIR_FREE(names[i]);
result = 0;
- cleanup:
+ cleanup:
if (result < 0) {
esxUtil_FreeParsedUri(parsedUri);
}
result = 0;
- cleanup:
+ cleanup:
if (result < 0) {
if (datastoreName) {
VIR_FREE(*datastoreName);
escaped2 = esxUtil_EscapeBase64(escaped1);
- cleanup:
+ cleanup:
VIR_FREE(replaced);
VIR_FREE(escaped1);
*content = virBufferContentAndReset(&buffer);
- cleanup:
+ cleanup:
VIR_FREE(range);
if (!(*content)) {
result = 0;
- cleanup:
+ cleanup:
if (result < 0) {
virBufferFreeAndReset(&buffer);
}
result = 0;
- cleanup:
+ cleanup:
esxVI_ManagedObjectReference_Free(&managedObjectReference);
return result;
result = 0;
- cleanup:
+ cleanup:
if (result < 0) {
virBufferFreeAndReset(&buffer);
esxVI_Response_Free(response);
return 0;
- failure:
+ failure:
freeFunc(&dest);
freeFunc(destList);
result = 0;
- cleanup:
+ cleanup:
if (result < 0) {
freeFunc(&item);
freeFunc(list);
return 0;
- failure:
+ failure:
freeFunc(&item);
freeFunc(list);
return 0;
- failure:
+ failure:
esxVI_TraversalSpec_Free(&traversalSpec);
esxVI_SelectionSpec_Free(&selectionSpec);
result = 0;
- cleanup:
+ cleanup:
virMutexUnlock(ctx->sessionLock);
esxVI_String_Free(&propertyNameList);
result = 0;
- cleanup:
+ cleanup:
/*
* Remove values given by the caller from the data structures to prevent
* them from being freed by the call to esxVI_PropertyFilterSpec_Free().
success = true;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&virtualMachineList);
return 0;
- failure:
+ failure:
if (name) {
VIR_FREE(*name);
}
return count;
- failure:
+ failure:
for (i = 0; i < count; ++i) {
VIR_FREE(names[i]);
}
result = 0;
- cleanup:
+ cleanup:
esxVI_ManagedObjectReference_Free(&managedObjectReference);
return result;
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&completePropertyNameList);
esxVI_ObjectContent_Free(&virtualMachineList);
VIR_FREE(name_candidate);
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&completePropertyNameList);
esxVI_VirtualMachineQuestionInfo_Free(&questionInfo);
esxVI_TaskInfo_Free(&pendingTaskInfoList);
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&completePropertyNameList);
esxVI_ObjectContent_Free(&datastoreList);
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&completePropertyNameList);
esxVI_ObjectContent_Free(&datastoreList);
esxVI_DatastoreHostMount_Free(&datastoreHostMountList);
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&objectContent);
esxVI_DatastoreHostMount_Free(&hostMountList);
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&objectContent);
result = 0;
- cleanup:
+ cleanup:
if (result < 0) {
esxVI_TaskInfo_Free(pendingTaskInfoList);
}
result = 0;
- cleanup:
+ cleanup:
esxVI_ObjectContent_Free(&virtualMachine);
esxVI_String_Free(&propertyNameList);
esxVI_VirtualMachineQuestionInfo_Free(&questionInfo);
result = 0;
- cleanup:
+ cleanup:
if (result < 0) {
esxVI_VirtualMachineSnapshotTree_Free(rootSnapshotTreeList);
}
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&virtualMachine);
esxVI_ManagedObjectReference_Free(¤tSnapshot);
result = 0;
- cleanup:
+ cleanup:
/* Don't double free fileName */
if (searchSpec && searchSpec->matchPattern) {
searchSpec->matchPattern->value = NULL;
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&datastore);
esxVI_ManagedObjectReference_Free(&hostDatastoreBrowser);
result = 0;
- cleanup:
+ cleanup:
esxVI_FileInfo_Free(&fileInfo);
VIR_FREE(uuid_string);
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&hostAutoStartManager);
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&hostAutoStartManager);
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&hostSystem);
result = 0;
- cleanup:
+ cleanup:
esxVI_PhysicalNic_Free(&physicalNicList);
return result;
result = 0;
- cleanup:
+ cleanup:
esxVI_PhysicalNic_Free(&physicalNicList);
return result;
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&hostSystem);
result = 0;
- cleanup:
+ cleanup:
esxVI_HostVirtualSwitch_Free(&hostVirtualSwitchList);
return result;
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&hostSystem);
result = 0;
- cleanup:
+ cleanup:
if (result < 0) {
virBufferFreeAndReset(&buffer);
}
result = 0;
- cleanup:
+ cleanup:
/*
* Remove values given by the caller from the data structures to prevent
* them from being freed by the call to esxVI_PropertyFilterSpec_Free().
result = 0;
- cleanup:
+ cleanup:
esxVI_HostInternetScsiHba_Free(&hostInternetScsiHba);
return result;
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&hostSystem);
esxVI_HostHostBusAdapter_Free(&hostHostBusAdapterList);
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&hostSystem);
result = 0;
- cleanup:
+ cleanup:
esxVI_String_Free(&propertyNameList);
esxVI_ObjectContent_Free(&hostSystem);
esxVI_HostScsiTopologyInterface_Free(&hostScsiInterfaceList);
result = 0;
- cleanup:
+ cleanup:
esxVI_ObjectContent_Free(&hostSystem);
esxVI_String_Free(&propertyNameList);
esxVI_HostScsiTopologyInterface_Free(&hostScsiInterfaceList);
result = 0;
- cleanup:
+ cleanup:
if (result < 0) {
esxVI_ObjectContent_Free(objectContentList);
} else {
result = 0;
- cleanup:
+ cleanup:
esxVI_Response_Free(&response);
return result;
result = 0;
- cleanup:
+ cleanup:
VIR_FREE(type);
return result;
return 0;
- failure:
+ failure:
esxVI_AnyType_Free(dest);
return -1;
return 0;
- failure:
+ failure:
esxVI_AnyType_Free(anyType);
return -1;
return 0;
- failure:
+ failure:
esxVI_String_Free(&string);
return -1;
return 0;
- failure:
+ failure:
esxVI_String_Free(&stringListToAppend);
return -1;
return 0;
- failure:
+ failure:
esxVI_String_Free(string);
return -1;
return 0;
- failure:
+ failure:
esxVI_DateTime_Free(dateTime);
return -1;
return 0;
- failure:
+ failure:
esxVI_MethodFault_Free(methodFault);
return -1;
return 0;
- failure:
+ failure:
esxVI_ManagedObjectReference_Free(managedObjectReference);
return -1;