]> xenbits.xensource.com Git - libvirt.git/commit
virQEMUDriverConfigLoadProcessEntry: use VIR_AUTOFREE
authorJán Tomko <jtomko@redhat.com>
Mon, 21 Jan 2019 13:47:34 +0000 (14:47 +0100)
committerJán Tomko <jtomko@redhat.com>
Mon, 21 Jan 2019 16:14:29 +0000 (17:14 +0100)
commit92e601d08c68909f6d61149098fd328c6aa31aaa
treea54c7f5025e7d56eb0db73b76d888388e639c6c5
parentf80eae8c2ae0c62ecaa550ab6353cf871bb17d4e
virQEMUDriverConfigLoadProcessEntry: use VIR_AUTOFREE

Switch the function to use VIR_AUTOFREE and VIR_AUTOPTR macros
to get rid of the cleanup section.

Requested-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/qemu/qemu_conf.c