]> xenbits.xensource.com Git - libvirt.git/commit
virHostCPUCountThreadSiblings: 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)
commit19228b60166038a8a5802ce2d4f379d7ab5a903f
treeef51dd699e9568529d0e70201a555f400e1749a5
parent4aa3d8fffad7564401173ab46163ffd7f6517d4d
virHostCPUCountThreadSiblings: 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>
src/util/virhostcpu.c