mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-09 09:14:57 +00:00
networkxml2conftest: Don't leak dnsmasq capabilities
==18324== 32 bytes in 1 blocks are still reachable in loss record 41 of 114 ==18324== at 0x4C2C070: calloc (vg_replace_malloc.c:623) ==18324== by 0x4EA479B: virAlloc (viralloc.c:144) ==18324== by 0x4EA674A: virBitmapNewQuiet (virbitmap.c:77) ==18324== by 0x4EA67F7: virBitmapNew (virbitmap.c:106) ==18324== by 0x4EC777D: dnsmasqCapsNewEmpty (virdnsmasq.c:801) ==18324== by 0x4EC781B: dnsmasqCapsNewFromBuffer (virdnsmasq.c:815) ==18324== by 0x407CF4: mymain (networkxml2conftest.c:99) ==18324== by 0x409CF0: virTestMain (testutils.c:982) ==18324== by 0x4080EA: main (networkxml2conftest.c:136) Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
72abe56448
commit
5dd3aa2d1c
@ -128,6 +128,10 @@ mymain(void)
|
|||||||
DO_TEST("dhcp6-nat-network", dhcpv6);
|
DO_TEST("dhcp6-nat-network", dhcpv6);
|
||||||
DO_TEST("dhcp6host-routed-network", dhcpv6);
|
DO_TEST("dhcp6host-routed-network", dhcpv6);
|
||||||
|
|
||||||
|
virObjectUnref(dhcpv6);
|
||||||
|
virObjectUnref(full);
|
||||||
|
virObjectUnref(restricted);
|
||||||
|
|
||||||
return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
|
return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user