]> xenbits.xensource.com Git - libvirt.git/commit
qemu: agent: Automatically free virJSONValue-s
authorPeter Krempa <pkrempa@redhat.com>
Wed, 1 Dec 2021 09:38:47 +0000 (10:38 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 7 Dec 2021 08:00:39 +0000 (09:00 +0100)
commit2783f39adfb7b0e6cc94ad09d57b545c705cfd0a
tree6594a32072afd113537940e07f10a995c293c85c
parent59891d32fb59480461c7142d9c09a2f53f5c0019
qemu: agent: Automatically free virJSONValue-s

Convert the code to use g_autoptr for the few cases sill using explicit
cleanup.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_agent.c