
24 Jun
2020
24 Jun
'20
12:16 p.m.
On Wed, 2020-06-24 at 16:17 +0100, Daniel P. Berrangé wrote:
The virDomainSnapshotGetDomain() method does NOT increment the refcount on the returned virDomain, so it must not be unrefed.
This double free is responsible for random failures of the test_snapshot.py tests.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> --- src/domainsnapshot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Nice! Reviewed-by: Andrea Bolognani <abologna@redhat.com> -- Andrea Bolognani / Red Hat / Virtualization