]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: use g_autofree for all pointers to virXMLPropString() in device_conf.c
authorNicolas Brignone <nmbrignone@gmail.com>
Wed, 8 Jul 2020 20:19:44 +0000 (17:19 -0300)
committerLaine Stump <laine@redhat.com>
Thu, 9 Jul 2020 03:11:21 +0000 (23:11 -0400)
commita4d97f0c199e980bb55d3b659214308c1b371b73
tree57f49889e75985e65cc226a7d0ee77242eb1550a
parent310ce7cf7edf064043edf62a6e5bf9be32837c24
conf: use g_autofree for all pointers to virXMLPropString() in device_conf.c

All modified functions are similar, in all cases "cleanup" label is removed,
along with all the "goto" calls.

Signed-off-by: Nicolas Brignone <nmbrignone@gmail.com>
Reviewed-by: Laine Stump <laine@redhat.com>
src/conf/device_conf.c