[libvirt] [PATCH 21/21] Fix memory leak in storage encryption parser
Daniel P. Berrange
berrange at redhat.com
Fri Oct 23 13:05:50 UTC 2009
* src/conf/storage_encryption_conf.c: Fix missing VIR_FREE
---
src/conf/storage_encryption_conf.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/conf/storage_encryption_conf.c b/src/conf/storage_encryption_conf.c
index b97b989..f46e750 100644
--- a/src/conf/storage_encryption_conf.c
+++ b/src/conf/storage_encryption_conf.c
@@ -117,6 +117,7 @@ virStorageEncryptionSecretParse(virConnectPtr conn, xmlXPathContextPtr ctxt,
_("missing volume encryption uuid"));
goto cleanup;
}
+ VIR_FREE(uuidstr);
ctxt->node = old_node;
return ret;
--
1.6.2.5
More information about the libvir-list
mailing list