From ebd29c6b1b0c5068aafd22964a5737c14d79d9df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Mon, 6 May 2013 14:36:23 +0200 Subject: [PATCH] iscsi: don't leak portal string when starting a pool (cherry picked from commit 413274f63b8f2da3b1a4adfdf1cbc0df7a0e0316) --- src/storage/storage_backend_iscsi.c | 1 + 1 file changed, 1 insertion(+) 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; } -- GitLab