]> xenbits.xensource.com Git - libvirt.git/commit
test_virCapabilitiesGetCpusForNodemask: Refactor cleanup
authorPeter Krempa <pkrempa@redhat.com>
Tue, 7 Dec 2021 16:22:26 +0000 (17:22 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 10 Dec 2021 15:36:24 +0000 (16:36 +0100)
commit628be89e8755f9fb9ccdda5aede2a81551ccf74d
tree4a8910fdd8402ac99500863ed8f02f424998ecfb
parentf89c929b1eb441b99f1d0758108b44cd9c66ce4f
test_virCapabilitiesGetCpusForNodemask: Refactor cleanup

Use automatic memory freeing for the temporary bitmap and remove the
pointless 'cleanup' section.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/vircapstest.c