]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Use g_autoptr(qemuMonitorTest)
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 1 Nov 2021 08:51:01 +0000 (09:51 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 11 Nov 2021 15:16:26 +0000 (16:16 +0100)
commitb1182157032676ddfdaf4adb8a28f3751c60219d
treeca1191fcaddb8625f62cc527c81a7eb1984c1652
parentda71790bbdc1f9fa3d49ce8613253adf68c10ff1
tests: Use g_autoptr(qemuMonitorTest)

Instead of calling qemuMonitorTestFree() explicitly, we can use
g_autoptr() and let it be called automagically.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Tim Wiederhake <twiederh@redhat.com>
tests/qemuagenttest.c
tests/qemucapabilitiestest.c
tests/qemuhotplugtest.c
tests/qemumigparamstest.c
tests/qemumonitorjsontest.c
tests/qemumonitortestutils.c