]> git.ipfire.org Git - thirdparty/libvirt.git/commit
testQemuMonitorJSONqemuMonitorJSONGetMigrationCapabilities: refactor cleanup
authorPeter Krempa <pkrempa@redhat.com>
Mon, 30 Nov 2020 14:29:49 +0000 (15:29 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 8 Jan 2021 08:17:25 +0000 (09:17 +0100)
commit812b0e912233ff28cb280b07435520418d507d38
tree8a79eba7c649bbcd49f53e7216da9934764deec7
parent681006a14b3bc9001ddcd3a68604e01faae48f0a
testQemuMonitorJSONqemuMonitorJSONGetMigrationCapabilities: refactor cleanup

Use automatic memory freeing to remove the 'cleanup:' label and 'ret'
variable.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/qemumonitorjsontest.c