Re: [PATCH 26/39] virResctrlGetCacheInfo: Restrict variable scope and use automatic freeing

2021-04-07 Thread Ján Tomko
On a Thursday in 2021, Peter Krempa wrote: Move variables into the loop which uses them and use automatic freeing for temporarily allocated variables. Signed-off-by: Peter Krempa --- src/util/virresctrl.c | 30 +- 1 file changed, 13 insertions(+), 17 deletions(-) R

[PATCH 26/39] virResctrlGetCacheInfo: Restrict variable scope and use automatic freeing

2021-04-01 Thread Peter Krempa
Move variables into the loop which uses them and use automatic freeing for temporarily allocated variables. Signed-off-by: Peter Krempa --- src/util/virresctrl.c | 30 +- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/src/util/virresctrl.c b/src/util/