]> git.ipfire.org Git - thirdparty/libvirt.git/commit
use g_autoptr for all xmlBuffers
authorLaine Stump <laine@redhat.com>
Thu, 18 Jun 2020 23:16:33 +0000 (19:16 -0400)
committerLaine Stump <laine@redhat.com>
Sun, 5 Jul 2020 03:50:38 +0000 (23:50 -0400)
commita726feb693ea5a1b0c90761c35641f0db8fc0619
tree5a105e473e84a474552f45d51bc3c32b82652391
parentb7a92bce070fd57844a59bf8b1c30cb4ef4f3acd
use g_autoptr for all xmlBuffers

AUTOPTR_CLEANUP_FUNC is set to xmlBufferFree() in util/virxml.h (This
is actually new - added accidentally (but fortunately harmlessly!) in
commit 257aba2dafe. I had added it along with the hunks in this patch,
then decided to remove it and submit separately, but missed taking out
the hunk in virxml.h)

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_conf.c
src/conf/network_conf.c
src/util/virxml.c
src/vmx/vmx.c