Re: [PATCH] virConfLoadConfig: Refactor cleanup

2021-03-12 Thread Michal Privoznik
On 3/11/21 10:46 AM, Yi Li wrote: Switch to using the 'g_auto*' helpers. Signed-off-by: Yi Li --- src/util/virconf.c | 19 ++- 1 file changed, 6 insertions(+), 13 deletions(-) The patch itself is okay. But can you please to the same change for the whole file and resend?

[PATCH] virConfLoadConfig: Refactor cleanup

2021-03-11 Thread Yi Li
Switch to using the 'g_auto*' helpers. Signed-off-by: Yi Li --- src/util/virconf.c | 19 ++- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/src/util/virconf.c b/src/util/virconf.c index 16107bce96..11046a1d45 100644 --- a/src/util/virconf.c +++