]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Resolve Coverity FORWARD_NULL
authorJohn Ferlan <jferlan@redhat.com>
Thu, 4 Sep 2014 20:24:37 +0000 (16:24 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 11 Sep 2014 12:10:13 +0000 (08:10 -0400)
commitf28a31fcc42ec82fc60e409afd7d2f2220ae9d2d
treec67d88438c1732fa6b63fb54b905a232121176a7
parent0311be9435087984c495243fbb378b7533beb99e
qemu: Resolve Coverity FORWARD_NULL

If we jump to cleanup before allocating the 'result', then the call
to virBlkioDeviceArrayClear will deref result causing a problem.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_driver.c