[PATCH 3/6] Use 'virBitmapNewCopy' instead of 'virBitmapCopy'

Ján Tomko jtomko at redhat.com
Fri Oct 2 12:24:31 UTC 2020


On a Friday in 2020, Peter Krempa wrote:
>There are only 3 places using the function. Two can use virBitmapNewCopy
>directly. In case of the qemu capabilities code we need to free the old
>bitmap first.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/conf/capabilities.c      | 3 +--
> src/qemu/qemu_capabilities.c | 3 ++-
> src/util/virresctrl.c        | 4 ++--
> 3 files changed, 5 insertions(+), 5 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20201002/c8761a9e/attachment-0001.sig>


More information about the libvir-list mailing list