]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMonitorJSONBlockStatsUpdateCapacity: Refactor cleanup
authorPeter Krempa <pkrempa@redhat.com>
Tue, 19 Oct 2021 12:48:16 +0000 (14:48 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 20 Oct 2021 11:43:37 +0000 (13:43 +0200)
commit3beb56f3e8e9f4ea44a4cd8ae5af567d02d0bd92
tree3c389313fac4743a78b2771117b54bcdee6c2942
parent65ff87c51c8d0f6729a6390c5bf5548d2682632f
qemuMonitorJSONBlockStatsUpdateCapacity: Refactor cleanup

Use automatic memory clearing for the temporary variable and remove the
cleanup section.

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