[PATCH 4/7] qemu: monitor: Refactor variable cleanup in qemuMonitorJSONQueryNamedBlockNodes

Ján Tomko jtomko at redhat.com
Wed Feb 26 12:17:51 UTC 2020


On Wed, Feb 26, 2020 at 01:05:00PM +0100, Peter Krempa wrote:
>Use g_autoptr to get rid of the cleanup section.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_monitor_json.c | 17 +++++------------
> 1 file changed, 5 insertions(+), 12 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200226/2e328b3e/attachment-0001.sig>


More information about the libvir-list mailing list