On Wed, Jan 12, 2022 at 09:47:53AM +0100, Michal Privoznik wrote: > The dnsmasqCaps type has its own cleanup function defined and > ready to use via g_autoptr(). Use automatic cleanup instead of > an explicit one. > > Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> > --- > src/util/virdnsmasq.c | 18 ++++++++---------- > tests/networkxml2conftest.c | 7 +++---- > 2 files changed, 11 insertions(+), 14 deletions(-) Reviewed-by: Andrea Bolognani <abologna@xxxxxxxxxx> -- Andrea Bolognani / Red Hat / Virtualization