
10 Feb
2021
10 Feb
'21
5:33 a.m.
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@redhat.com> --- src/conf/storage_source_conf.c | 1 + 1 file changed, 1 insertion(+)
Oops, thanks for fixing it. Reviewed-by: Pavel Hrdina <phrdina@redhat.com>