]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMonitorJSONGetCommands: Refactor cleanup
authorPeter Krempa <pkrempa@redhat.com>
Mon, 14 Jun 2021 14:19:11 +0000 (16:19 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 15 Jun 2021 14:58:23 +0000 (16:58 +0200)
commitea0b164367c6608145bbf0c1180b73bf2b0e38c3
treef42f5ced5319938afed66b22b7d9c60bc3d5fb3e
parent675755e04445c03d846ccba3a4e4cf0a87a99f02
qemuMonitorJSONGetCommands: Refactor cleanup

Use automatic memory freeing 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