Re: [PATCH 3/4] virSecretLoadAllConfigs: Use g_autofree for @path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  src/conf/virsecretobj.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux