]> git.ipfire.org Git - thirdparty/libvirt.git/commit
logging: Use g_autofree in virLogDaemonUnixSocketPaths()
authorFabiano Fidêncio <fidencio@redhat.com>
Thu, 19 Dec 2019 09:30:34 +0000 (10:30 +0100)
committerFabiano Fidêncio <fidencio@redhat.com>
Fri, 20 Dec 2019 08:38:43 +0000 (09:38 +0100)
commit441c668b8286925a315d1cc73d54f442b12c15b3
tree693e1f78e746ed03d4268e555853b37c740724ed
parent40449e44bc3c36463730e15be27fb2cf5982267b
logging: Use g_autofree in virLogDaemonUnixSocketPaths()

Together with the change, let's also simplify the function and get rid
of the goto.

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/logging/log_daemon.c