[PATCH 6/7] qemuMigrationParamsParse: Refactor variable cleanup

Ján Tomko jtomko at redhat.com
Mon Aug 24 13:28:59 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 'cleanup:' label.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_migration_params.c | 40 ++++++++++++--------------------
> 1 file changed, 15 insertions(+), 25 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/4d479c9a/attachment-0001.sig>


More information about the libvir-list mailing list