Re: [libvirt PATCH 05/13] conf: domain_addr: use g_new0

2020-10-08 Thread Erik Skultety
> @@ -1592,8 +1585,8 @@ > virDomainVirtioSerialAddrSetAddController(virDomainVirtioSerialAddrSetPtr > addrs, > VIR_DEBUG("Adding virtio serial controller index %u with %d" >" ports to the address set", cont->idx, ports); > > -if (VIR_ALLOC(cnt) < 0) > -goto clea

[libvirt PATCH 05/13] conf: domain_addr: use g_new0

2020-10-07 Thread Ján Tomko
Signed-off-by: Ján Tomko --- src/conf/domain_addr.c | 31 ++- 1 file changed, 10 insertions(+), 21 deletions(-) diff --git a/src/conf/domain_addr.c b/src/conf/domain_addr.c index 9114f2d8d0..ab508b0c8f 100644 --- a/src/conf/domain_addr.c +++ b/src/conf/domain_addr.c @