[libvirt] [PATCH 01/10] qemu: caps: Rework memory allocation in virQEMUCapsFillDomainFeatureSEVCaps
Daniel P. Berrangé
berrange at redhat.com
Tue Nov 12 09:31:36 UTC 2019
On Tue, Nov 12, 2019 at 08:27:38AM +0100, Peter Krempa wrote:
> Use g_new0 instead of VIR_ALLOC to avoid error cases.
>
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
> src/qemu/qemu_capabilities.c | 15 +++++----------
> 1 file changed, 5 insertions(+), 10 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvir-list
mailing list