[PATCH 02/25] use g_autoptr for all xmlBuffers

Ján Tomko jtomko at redhat.com
Thu Jun 25 22:07:18 UTC 2020


On a Wednesday in 2020, Laine Stump wrote:
>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 at redhat.com>
>---
> src/conf/domain_conf.c  |  4 +---
> src/conf/network_conf.c |  4 +---
> src/util/virxml.c       | 12 +++---------
> src/vmx/vmx.c           | 10 +++-------
> 4 files changed, 8 insertions(+), 22 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200626/5f191575/attachment-0001.sig>


More information about the libvir-list mailing list