]> git.ipfire.org Git - thirdparty/libvirt.git/commit
locking: Use g_autofree in virLockDaemonExecRestartStatePath()
authorFabiano Fidêncio <fidencio@redhat.com>
Thu, 19 Dec 2019 09:37:20 +0000 (10:37 +0100)
committerFabiano Fidêncio <fidencio@redhat.com>
Fri, 20 Dec 2019 08:38:43 +0000 (09:38 +0100)
commit53655ba2c9cbc2213684c504f558d65b822223bb
treebf96d296d2b32e1ff3d8cd42f69b7c76fa316617
parentbfdb3bb1ee045628cd4faa4dba81355132e969ac
locking: Use g_autofree in virLockDaemonExecRestartStatePath()

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/locking/lock_daemon.c