]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virTypedParamsValidate: Refactor variable declaration and cleanup
authorPeter Krempa <pkrempa@redhat.com>
Wed, 19 Apr 2023 08:37:09 +0000 (10:37 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 May 2023 12:32:46 +0000 (14:32 +0200)
commitb5ee977d179dc7807dceeaeb887d30849e558fe8
tree77440b6da786049e9046a39d0792895c64242ffd
parent111eeba7a7e2ce8ede461a2131b4815c9a385b66
virTypedParamsValidate: Refactor variable declaration and cleanup

Use automatic memory cleanup for the 'keys' and 'sorted' helpers and
remove the 'cleanup' label. Since this patch is modifying variable
declarations ensure that all declarations conform with our coding style.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virtypedparam.c