[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[libvirt] [PATCH 21/21] Fix memory leak in storage encryption parser
- From: "Daniel P. Berrange" <berrange redhat com>
- To: libvir-list redhat com
- Cc:
- Subject: [libvirt] [PATCH 21/21] Fix memory leak in storage encryption parser
- Date: Fri, 23 Oct 2009 14:05:50 +0100
* 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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]