mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
esx: use g_autofree for datastoreRelatedPath
Reported by Coverity. Fixes: 213662813cd846d045be8857dc7b917d33a40989 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…
x
Reference in New Issue
Block a user