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 f048d08408
commit be563bcfe6

View File

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