John Ferlan 11e8d37c4b qemu: Fix possible NULL deref in qemuDomainSaveImageStartVM
Commit 075523438 added a direct reference to @cookie even though
it may be NULL as shown by a comment a few lines previous - so add
the check here as well.

Found by Coverity

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2019-11-06 11:27:12 -05:00
..
2019-09-06 12:47:47 +02:00
2019-10-24 08:10:37 +02:00
2019-10-16 12:06:44 +02:00
2019-09-06 12:47:47 +02:00
2019-10-16 12:06:44 +02:00
2019-10-24 08:10:37 +02:00
2019-10-17 10:54:32 +02:00
2019-10-16 15:59:41 +02:00
2019-10-24 08:10:37 +02:00
2019-10-16 12:06:44 +02:00