]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: qemublocktest: fix crashing with SIGBUS
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Tue, 4 Aug 2020 16:07:00 +0000 (20:07 +0400)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Tue, 4 Aug 2020 16:19:48 +0000 (20:19 +0400)
commite960bedee9e6242b9613fc4e18a009eb1256fba9
treea7dc61221990be398c9a07df549342b601186688
parent08376431b46f291641f9a26f647589f2f68d27e0
tests: qemublocktest: fix crashing with SIGBUS

Commit bcbb026993 converted qemublocktest to use
g_autoptr for virQEMUCaps. To prevent it from crashing,
don't explicitly call virObjectUnref() on this object.

Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
tests/qemublocktest.c