[PATCH] tests: qemublocktest: fix crashing with SIGBUS

Ján Tomko jtomko at redhat.com
Tue Aug 4 16:33:43 UTC 2020


On a Tuesday in 2020, Roman Bogorodskiy wrote:
>Commit bcbb026993 converted qemublocktest to use
>g_autoptr for virQEMUCaps. To prevent it from crashing,
>don't explicitly call virObjectUnref() on this object.
>

Oops, thanks for catching that.

>Signed-off-by: Roman Bogorodskiy <bogorodskiy at gmail.com>
>---
> tests/qemublocktest.c | 1 -
> 1 file changed, 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200804/6ff45868/attachment-0001.sig>


More information about the libvir-list mailing list