mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
esx: use g_autofree for datastoreRelatedPath
Reported by Coverity.
Fixes: 213662813c
Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
6f66722cbc
commit
e2ee16dcd3
@ -2886,7 +2886,7 @@ esxDomainDefineXMLFlags(virConnectPtr conn, const char *xml, unsigned int flags)
|
||||
g_autofree char *escapedName = NULL;
|
||||
g_auto(virBuffer) buffer = VIR_BUFFER_INITIALIZER;
|
||||
g_autofree char *url = NULL;
|
||||
char *datastoreRelatedPath = NULL;
|
||||
g_autofree char *datastoreRelatedPath = NULL;
|
||||
esxVI_String *propertyNameList = NULL;
|
||||
esxVI_ObjectContent *hostSystem = NULL;
|
||||
esxVI_ManagedObjectReference *resourcePool = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user