mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
iscsi: don't leak portal string when starting a pool
(cherry picked from commit 413274f63b8f2da3b1a4adfdf1cbc0df7a0e0316)
This commit is contained in:
parent
f048d08408
commit
be563bcfe6
@ -735,6 +735,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