
16 Oct
2023
16 Oct
'23
3:05 p.m.
On Mon, Oct 16, 2023 at 10:07:50 +0200, Michal Privoznik wrote:
When loading virSecret configs, the @path variable holds path to individual config files. In each iteration it is freed explicitly using VIR_FREE(). Switch it to g_autofree and remove those explicit calls.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com> --- src/conf/virsecretobj.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
Reviewed-by: Peter Krempa <pkrempa@redhat.com>