Re: [PATCH 1/1] capabilities: reduce scope in virCapabilitiesInitCaches()

2023-03-20 Thread Ján Tomko
On a Monday in 2023, Shaleen Bathla wrote: over-writing a variable in inner while-loop without freeing previous memory leaks it over time. To fix this, we can just change scope of bank variable to the inner loop. Signed-off-by: Shaleen Bathla --- src/conf/capabilities.c | 2 +- 1 file changed, 1

[PATCH 1/1] capabilities: reduce scope in virCapabilitiesInitCaches()

2023-03-20 Thread Shaleen Bathla
over-writing a variable in inner while-loop without freeing previous memory leaks it over time. To fix this, we can just change scope of bank variable to the inner loop. Signed-off-by: Shaleen Bathla --- src/conf/capabilities.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/