From: Ján Tomko Date: Mon, 6 May 2013 12:36:23 +0000 (+0200) Subject: iscsi: don't leak portal string when starting a pool X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=be563bcfe6c2a4fed37cdd8a016bffd9052b77e9;p=thirdparty%2Flibvirt.git iscsi: don't leak portal string when starting a pool (cherry picked from commit 413274f63b8f2da3b1a4adfdf1cbc0df7a0e0316) --- diff --git a/src/storage/storage_backend_iscsi.c b/src/storage/storage_backend_iscsi.c index f374961a4c..f476ee1915 100644 --- a/src/storage/storage_backend_iscsi.c +++ b/src/storage/storage_backend_iscsi.c @@ -735,6 +735,7 @@ virStorageBackendISCSIStartPool(virConnectPtr conn ATTRIBUTE_UNUSED, ret = 0; cleanup: + VIR_FREE(portal); VIR_FREE(session); return ret; }