1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-20 07:59:00 +00:00

iscsi: don't leak portal string when starting a pool

(cherry picked from commit 413274f63b8f2da3b1a4adfdf1cbc0df7a0e0316)
This commit is contained in:
Ján Tomko 2013-05-06 14:36:23 +02:00
parent a24f6841ec
commit ebd29c6b1b

View File

@ -735,6 +735,7 @@ virStorageBackendISCSIStartPool(virConnectPtr conn ATTRIBUTE_UNUSED,
ret = 0;
cleanup:
VIR_FREE(portal);
VIR_FREE(session);
return ret;
}