[PATCH 1/3] qemuMonitorJSONGetStatus: Refactor cleanup
Michal Privoznik
mprivozn at redhat.com
Fri Mar 19 13:01:13 UTC 2021
On 3/18/21 6:40 PM, Peter Krempa wrote:
> Use g_autofree for the JSON values to remove cleanup label and ret
> variable.
>
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
> src/qemu/qemu_monitor_json.c | 18 ++++++------------
> 1 file changed, 6 insertions(+), 12 deletions(-)
Reviewed-by: Michal Privoznik <mprivozn at redhat.com>
Michal
More information about the libvir-list
mailing list