[PATCH 04/36] virDomainNumatuneParseXML: Refactor cleanup

Ján Tomko jtomko at redhat.com
Thu Dec 9 12:52:03 UTC 2021


On a Thursday in 2021, Peter Krempa wrote:
>Use automatic memory clearing for the temporary strings and bitmap and
>remove the cleanup section. There are multiple temporary strings added
>so that we don't reuse one.
>

The strings can be moved inside the 'if (node)' block

>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/conf/numa_conf.c | 52 +++++++++++++++++++-------------------------
> 1 file changed, 22 insertions(+), 30 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/20211209/83bb4b5a/attachment-0001.sig>


More information about the libvir-list mailing list