Re: [PATCH 027/103] virQEMUBuildCommandLineJSONIterate: Simplify logic

2021-10-07 Thread Ján Tomko
On a Thursday in 2021, Peter Krempa wrote: With automatic memory freeing we can simplify the function to avoid two almost-identical calls to virQEMUBuildCommandLineJSONRecurse. Signed-off-by: Peter Krempa --- src/util/virqemu.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletio

[PATCH 027/103] virQEMUBuildCommandLineJSONIterate: Simplify logic

2021-10-07 Thread Peter Krempa
With automatic memory freeing we can simplify the function to avoid two almost-identical calls to virQEMUBuildCommandLineJSONRecurse. Signed-off-by: Peter Krempa --- src/util/virqemu.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/src/util/virqemu.c b/sr