mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-23 20:02:21 +00:00
storage: conf: Fix memory leak in encryption parsing
This commit is contained in:
parent
4c44cdcce3
commit
030db0c2ec
@ -112,6 +112,7 @@ virStorageEncryptionSecretParse(virConnectPtr conn, xmlXPathContextPtr ctxt,
|
||||
uuidstr);
|
||||
goto cleanup;
|
||||
}
|
||||
VIR_FREE(uuidstr);
|
||||
} else {
|
||||
virStorageReportError(conn, VIR_ERR_XML_ERROR, "%s",
|
||||
_("missing volume encryption uuid"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user