[PATCH 4/7] qemuMigrationParamsToJSON: Refactor variable cleanup

Ján Tomko jtomko at redhat.com
Mon Aug 24 13:22:53 UTC 2020


On a Monday in 2020, Peter Krempa wrote:
>Use automatic memory allocation and move variables into correct scope to
>simplify the code and remove the need for a 'error:' label.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_migration_params.c | 19 ++++++-------------
> 1 file changed, 6 insertions(+), 13 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/20200824/c3b5c26f/attachment-0001.sig>


More information about the libvir-list mailing list