]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virBitmapParseInternal: Allocate the bitmap in the caller
authorPeter Krempa <pkrempa@redhat.com>
Mon, 6 Dec 2021 15:18:57 +0000 (16:18 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 10 Dec 2021 15:36:25 +0000 (16:36 +0100)
commit515672c0d9025642189df58fa17ef75820863b87
tree09b0aa0eda2151517081424b1665310e4b733ab6
parentd8579b07c892324a5ef58057ad9db5f02cb126bc
virBitmapParseInternal: Allocate the bitmap in the caller

In order to prepare for reuse of the function, move the allocation of
the bitmap to the caller.

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