mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-08 16:58:29 +03:00
qemuxml2xmltest: Move virObjectUnref() call
The current location looks very arbitrary. Move it to the end of the mymain() function so it is less confusing. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
7086c835b6
commit
a0d53fdab9
@ -1158,8 +1158,6 @@ mymain(void)
|
||||
QEMU_CAPS_VIRTIO_PCI_IOMMU_PLATFORM,
|
||||
QEMU_CAPS_VIRTIO_PCI_ATS);
|
||||
|
||||
virObjectUnref(cfg);
|
||||
|
||||
DO_TEST("acpi-table", NONE);
|
||||
|
||||
DO_TEST("video-device-pciaddr-default",
|
||||
@ -1297,6 +1295,7 @@ mymain(void)
|
||||
if (getenv("LIBVIRT_SKIP_CLEANUP") == NULL)
|
||||
virFileDeleteTree(fakerootdir);
|
||||
|
||||
virObjectUnref(cfg);
|
||||
qemuTestDriverFree(&driver);
|
||||
VIR_FREE(fakerootdir);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user