Re: [libvirt] [PATCH v2 2/6] qemu: use VIR_AUTOUNREF in qemuDomainDeviceDefValidate()

2019-10-15 Thread Cole Robinson
On 10/11/19 5:27 PM, Jonathon Jongsma wrote: > This allows us to simplify the function and avoid jumping to 'cleanup'. > > Signed-off-by: Jonathon Jongsma > --- > src/qemu/qemu_domain.c | 13 + > 1 file changed, 5 insertions(+), 8 deletions(-) > > diff --git

[libvirt] [PATCH v2 2/6] qemu: use VIR_AUTOUNREF in qemuDomainDeviceDefValidate()

2019-10-11 Thread Jonathon Jongsma
This allows us to simplify the function and avoid jumping to 'cleanup'. Signed-off-by: Jonathon Jongsma --- src/qemu/qemu_domain.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index dc7568fe18..516ae7e444