On 01/18/2017 10:50 AM, Jiri Denemark wrote:
Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
src/qemu/qemu_capabilities.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index 89e9dd471..1e1b53b22 100644
--- a/src/qemu/qemu_capabilities.c
+++ b/src/qemu/qemu_capabilities.c
@@ -3752,6 +3752,9 @@ virQEMUCapsReset(virQEMUCapsPtr qemuCaps)
VIR_FREE(qemuCaps->gicCapabilities);
qemuCaps->ngicCapabilities = 0;
+ qemuMonitorCPUModelInfoFree(qemuCaps->hostCPUModelInfo);
+ qemuCaps->hostCPUModelInfo = NULL;
+
virCPUDefFree(qemuCaps->hostCPUModel);
qemuCaps->hostCPUModel = NULL;
}
Fwiw,
Looks good to me.
Reviewed-by: Jason J. Herne <jjherne(a)linux.vnet.ibm.com>
--
-- Jason J. Herne (jjherne(a)linux.vnet.ibm.com)