Re: [PATCH] virconf.c: Refactor cleanup and remove VIR_FREE

2021-03-12 Thread Michal Privoznik
On 3/12/21 10:51 AM, Yi Li wrote: Switch to using the 'g_auto*' helpers. Signed-off-by: Yi Li --- src/util/virconf.c | 47 +++--- 1 file changed, 15 insertions(+), 32 deletions(-) Almost :-) diff --git a/src/util/virconf.c b/src/util/virconf.c

[PATCH] virconf.c: Refactor cleanup and remove VIR_FREE

2021-03-12 Thread Yi Li
Switch to using the 'g_auto*' helpers. Signed-off-by: Yi Li --- src/util/virconf.c | 47 +++--- 1 file changed, 15 insertions(+), 32 deletions(-) diff --git a/src/util/virconf.c b/src/util/virconf.c index 16107bce96..17fbea2397 100644 ---