Re: [libvirt] [PATCH 37/42] locking: Use g_autofree on virLockDaemonUnixSocketPaths()

2019-12-19 Thread Ján Tomko
On Thu, Dec 19, 2019 at 11:04:42AM +0100, Fabiano Fidêncio wrote: Together with the change, let's also simplify the function and get rid of the goto. Signed-off-by: Fabiano Fidêncio --- src/locking/lock_daemon.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) Reviewed-by: J

[libvirt] [PATCH 37/42] locking: Use g_autofree on virLockDaemonUnixSocketPaths()

2019-12-19 Thread Fabiano Fidêncio
Together with the change, let's also simplify the function and get rid of the goto. Signed-off-by: Fabiano Fidêncio --- src/locking/lock_daemon.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/locking/lock_daemon.c b/src/locking/lock_daemon.c index 0d12a9723