]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virscsihost: use g_autofree more
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 8 Mar 2023 07:48:36 +0000 (08:48 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 8 Mar 2023 11:01:27 +0000 (12:01 +0100)
commit0d1f9e0de01857d008efeb3e4c70f8e924cf6374
treec228ef588591daa935e70c80f015d6300e62bb53
parent6386dd897df596a01e3cf0db9f86d496891564dc
virscsihost: use g_autofree more

Remove some obvious uses of VIR_FREE() in favor of automatic
cleanup. This also means, that some variables affected are
brought into the inner most block, so that automatic cleanup is
effective.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virscsihost.c