On Sun, Feb 09, 2020 at 02:32:33AM +0100, Ján Tomko wrote: > Use g_autoptr where possible. > > virTestCapsBuildNUMATopology is not converted completely, > because while the VIR_FREE call on cell_cpus is technically > wrong, neither VIR_ALLOC_N nor virBitmapNew can return > an allocation error now so it is effectively dead code. > > Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx> > --- > tests/testutils.c | 13 +++++-------- > 1 file changed, 5 insertions(+), 8 deletions(-) Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx> 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 :|