]> xenbits.xensource.com Git - libvirt.git/commit
qemumonitorjsontest: Use VIR_AUTOPTR support
authorEric Blake <eblake@redhat.com>
Tue, 11 Jun 2019 03:01:08 +0000 (22:01 -0500)
committerEric Blake <eblake@redhat.com>
Wed, 12 Jun 2019 02:30:12 +0000 (21:30 -0500)
commit09083437ffa45dbe43771ef57f31d9d58dd324b9
treec9746abf1788bc834d21b53aa23ce21ed33aad2b
parent2ea60b6f7e698e3a75f1c8096268780b6bf79ac1
qemumonitorjsontest: Use VIR_AUTOPTR support

Simplify the GEN_TEST_FUNC() and target of the DO_TEST_SIMPLE() macros
by using autoptr support.

Signed-off-by: Eric Blake <eblake@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
tests/qemumonitorjsontest.c