]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMonitorJSONGetObjectTypes: Refactor cleanup
authorPeter Krempa <pkrempa@redhat.com>
Mon, 14 Jun 2021 14:20:50 +0000 (16:20 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 15 Jun 2021 14:58:23 +0000 (16:58 +0200)
commited4c75c4daf4c629f54343870f953c5324ba8c4d
tree58a244945da16dfc67e16063fc444ef32df9bdb7
parent1a468c01a808e60c5fef3ffc0f28d876ded1e7f0
qemuMonitorJSONGetObjectTypes: Refactor cleanup

Use automatic memory clearing to simplify the control flow.

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