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

If the qemuMigrationEatCookie() fails to set mig, we jump to cleanup:
which will call qemuMigrationCancelDriveMirror() without first checking
if mig == NULL

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