Re: [libvirt PATCH 1/2] lxc: replace VIR_FREE with g_autofree / g_free

2020-06-03 Thread Peter Krempa
On Wed, Jun 03, 2020 at 06:42:10 -0400, John Ferlan wrote: > First time in a while - Coverity complained this morning > > [...] > > > diff --git a/src/lxc/lxc_fuse.c b/src/lxc/lxc_fuse.c > > index e73b4d0690..c4223f4e06 100644 > > --- a/src/lxc/lxc_fuse.c > > +++ b/src/lxc/lxc_fuse.c > > @@

Re: [libvirt PATCH 1/2] lxc: replace VIR_FREE with g_autofree / g_free

2020-06-03 Thread John Ferlan
First time in a while - Coverity complained this morning [...] > diff --git a/src/lxc/lxc_fuse.c b/src/lxc/lxc_fuse.c > index e73b4d0690..c4223f4e06 100644 > --- a/src/lxc/lxc_fuse.c > +++ b/src/lxc/lxc_fuse.c > @@ -326,10 +326,10 @@ int lxcSetupFuse(virLXCFusePtr *f, virDomainDefPtr def) >

[libvirt PATCH 1/2] lxc: replace VIR_FREE with g_autofree / g_free

2020-05-13 Thread Daniel P . Berrangé
Signed-off-by: Daniel P. Berrangé --- src/lxc/lxc_cgroup.c | 14 +-- src/lxc/lxc_conf.c | 15 +-- src/lxc/lxc_container.c | 256 ++- src/lxc/lxc_controller.c | 126 --- src/lxc/lxc_domain.c | 24 ++-- src/lxc/lxc_driver.c