]> git.ipfire.org Git - thirdparty/libvirt.git/commit
capabilities: use g_autofree in capabilities.c
authorJiang Jiacheng <jiangjiacheng@huawei.com>
Sat, 15 Oct 2022 09:18:01 +0000 (17:18 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 17 Oct 2022 08:56:38 +0000 (10:56 +0200)
commitc341df33ac77cbd3b45bf960ee652e50cf57bb5d
treefbd8901d016e92f86b376d4c7dff564fa7d2f913
parentc90ee1441f02a67100e956f72aaf786e8e634782
capabilities: use g_autofree in capabilities.c

Use g_autofree in capabilities.c for some pointers still using manual cleanup,
and remove unnecessary cleanup.

Signed-off-by: Jiang Jiacheng <jiangjiacheng@huawei.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/capabilities.c