]> git.ipfire.org Git - thirdparty/libvirt.git/commit
test: Return early in testQueryJobs
authorJohn Ferlan <jferlan@redhat.com>
Tue, 23 Jul 2019 12:09:19 +0000 (08:09 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 23 Jul 2019 14:56:16 +0000 (10:56 -0400)
commit73717ca074ee7d1982f809cbfb5ef43cb3d8e647
tree44bd6d53e16e36481127525c07094846a729f632
parente8bf136cff61020966a86077dbc538f7e08a7a7a
test: Return early in testQueryJobs

Avoid the chance that qemuMonitorTestNewSimple could return NULL

Found by Coverity

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Peter Krempa <pkrempa@redhat.com>
tests/qemumonitorjsontest.c