]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: stop checking virObjectUnref return value
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 15 May 2020 15:33:43 +0000 (16:33 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 3 Jun 2020 09:20:17 +0000 (10:20 +0100)
commitfd460ef561a630cebb384e43dfe42b6d280c168f
tree8cb3740df16cae0a646a6da33d5266a10f7a88bd
parentedea0d98949e8ac9bba917e2a69ca9a3a7903c3d
qemu: stop checking virObjectUnref return value

Some, but not all, of the monitor event handlers check
the virObjectUnref return value to see if the domain
was disposed.

It should not be possible for this to happen, since
the function already holds a lock on the domain and
has only just acquired an extra reference on the
domain a few lines earlier.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_process.c