virMutexDestroy(item->sessionLock);
esxVI_CURL_Free(&item->curl);
- VIR_FREE(item->url);
- VIR_FREE(item->ipAddress);
- VIR_FREE(item->username);
- VIR_FREE(item->password);
+ g_free(item->url);
+ g_free(item->ipAddress);
+ g_free(item->username);
+ g_free(item->password);
esxVI_ServiceContent_Free(&item->service);
esxVI_UserSession_Free(&item->session);
- VIR_FREE(item->sessionLock);
+ g_free(item->sessionLock);
esxVI_Datacenter_Free(&item->datacenter);
- VIR_FREE(item->datacenterPath);
+ g_free(item->datacenterPath);
esxVI_ComputeResource_Free(&item->computeResource);
- VIR_FREE(item->computeResourcePath);
+ g_free(item->computeResourcePath);
esxVI_HostSystem_Free(&item->hostSystem);
- VIR_FREE(item->hostSystemName);
+ g_free(item->hostSystemName);
esxVI_SelectionSpec_Free(&item->selectSet_folderToChildEntity);
esxVI_SelectionSpec_Free(&item->selectSet_hostSystemToParent);
esxVI_SelectionSpec_Free(&item->selectSet_hostSystemToVm);
/* esxVI_Response_Free */
ESX_VI__TEMPLATE__FREE(Response,
{
- VIR_FREE(item->content);
+ g_free(item->content);
xmlFreeDoc(item->document);
})
ESX_VI__TEMPLATE__FREE(AnyType,
{
xmlFreeNode(item->node);
- VIR_FREE(item->other);
- VIR_FREE(item->value);
+ g_free(item->other);
+ g_free(item->value);
})
const char *
{
esxVI_String_Free(&item->_next);
- VIR_FREE(item->value);
+ g_free(item->value);
})
/* esxVI_String_Validate */
/* esxVI_DateTime_Free */
ESX_VI__TEMPLATE__FREE(DateTime,
{
- VIR_FREE(item->value);
+ g_free(item->value);
})
/* esxVI_DateTime_Validate */
/* esxVI_Fault_Free */
ESX_VI__TEMPLATE__FREE(Fault,
{
- VIR_FREE(item->faultcode);
- VIR_FREE(item->faultstring);
+ g_free(item->faultcode);
+ g_free(item->faultstring);
})
/* esxVI_Fault_Validate */
/* esxVI_MethodFault_Free */
ESX_VI__TEMPLATE__FREE(MethodFault,
{
- VIR_FREE(item->_actualType);
+ g_free(item->_actualType);
})
int
{
esxVI_ManagedObjectReference_Free(&item->_next);
- VIR_FREE(item->type);
- VIR_FREE(item->value);
+ g_free(item->type);
+ g_free(item->value);
})
/* esxVI_ManagedObjectReference_DeepCopy */
ESX_VI__TEMPLATE__FREE(Event,
{
esxVI_Event_Free(&item->_next);
- VIR_FREE(item->_actualType);
+ g_free(item->_actualType);
esxVI_Int_Free(&item->key);
esxVI_Int_Free(&item->chainId);
esxVI_DateTime_Free(&item->createdTime);
- VIR_FREE(item->userName);
+ g_free(item->userName);
/* FIXME: datacenter is currently ignored */
/* FIXME: computeResource is currently ignored */
/* FIXME: host is currently ignored */
esxVI_VmEventArgument_Free(&item->vm);
- VIR_FREE(item->fullFormattedMessage);
+ g_free(item->fullFormattedMessage);
})
/* esxVI_Event_Validate */