]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virDomainFeaturesTCGDefParse: Don't leak 'tcg_features' when '<tcg>' feature is repeated
authorPeter Krempa <pkrempa@redhat.com>
Mon, 9 Sep 2024 14:46:05 +0000 (16:46 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 10 Sep 2024 12:26:20 +0000 (14:26 +0200)
commitead2419df3b3a135f3df3132b257bef89cdb0132
tree68702865a3460381eb84bf05fb4fd4788efe7afd
parent574769ceb62a4f5eab650cd6900fb8d680964534
virDomainFeaturesTCGDefParse: Don't leak 'tcg_features' when '<tcg>' feature is repeated

Similarly to other cases users may specify the feature flag multiple
times.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/conf/domain_conf.c