Re: [PATCH] virStorageSourceClear: Unref @vhostuser

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

 



On Wed, Feb 10, 2021 at 10:52:43AM +0100, Michal Privoznik wrote:
> The @vhostuser member of virStorageSource structure is allocated
> during parsing in virDomainDiskSourceVHostUserParse() but never
> freed leading to a memleak. Since the member is an object it has
> to be unrefed instead of g_free()-d.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/conf/storage_source_conf.c | 1 +
>  1 file changed, 1 insertion(+)

Oops, thanks for fixing it.

Reviewed-by: Pavel Hrdina <phrdina@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature


[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