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