mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
iscsi: don't leak portal string when starting a pool
This commit is contained in:
parent
eed1de14b5
commit
413274f63b
@ -772,6 +772,7 @@ virStorageBackendISCSIStartPool(virConnectPtr conn ATTRIBUTE_UNUSED,
|
||||
ret = 0;
|
||||
|
||||
cleanup:
|
||||
VIR_FREE(portal);
|
||||
VIR_FREE(session);
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user