Re: [PATCH v4 3/5] lxc: Replacing default strings definitions by g_autofree statement

2020-02-25 Thread Daniel P . Berrangé
On Mon, Feb 24, 2020 at 11:24:27AM -0300, Julio Faracco wrote: > There are a lots of strings being handled inside some LXC functions. > They can be moved to g_autofree to avoid declaring a return value to get > proper code cleanups. This commit is changing functions from >

[PATCH v4 3/5] lxc: Replacing default strings definitions by g_autofree statement

2020-02-24 Thread Julio Faracco
There are a lots of strings being handled inside some LXC functions. They can be moved to g_autofree to avoid declaring a return value to get proper code cleanups. This commit is changing functions from lxc_{controller,cgroup,fuse} only. Signed-off-by: Julio Faracco --- src/lxc/lxc_cgroup.c