[libvirt] [PATCH] virQEMUCapsFreeHostCPUModel: Don't always free host cpuData

Ján Tomko jtomko at redhat.com
Wed Jun 6 11:24:35 UTC 2018


On Tue, Jun 05, 2018 at 09:24:53AM +0200, Michal Privoznik wrote:
>This function exists because of 5276ec712a44b36. But it is
>missing initial check just like virQEMUCapsInitHostCPUModel()
>has.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> src/qemu/qemu_capabilities.c | 4 ++++
> src/qemu/qemu_capspriv.h     | 1 +
> tests/qemuxml2argvtest.c     | 6 ++++--
> 3 files changed, 9 insertions(+), 2 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180606/e44805a1/attachment-0001.sig>


More information about the libvir-list mailing list