]> xenbits.xensource.com Git - libvirt.git/commit
virdomainobjlist: Use g_autofree
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 26 Nov 2021 13:11:25 +0000 (14:11 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 3 Dec 2021 16:14:52 +0000 (17:14 +0100)
commit7f80ff3d9685d900e7b87ff7473fe5f8a9dbdd12
tree270b491a24e6a79b68299beb5b1a8fd6df67e302
parent38929464c5770ae21a4dcfd679bae50d5e90f41b
virdomainobjlist: Use g_autofree

Instead of calling VIR_FREE() explicitly, we can annotate
variables with g_autofree.

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