]> git.ipfire.org Git - thirdparty/libvirt.git/commit
xenapi: Resolve Coverity FORWARD_NULL
authorJohn Ferlan <jferlan@redhat.com>
Tue, 10 Mar 2015 22:33:59 +0000 (18:33 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 11 Mar 2015 17:02:10 +0000 (13:02 -0400)
commit500d77f1811c371598ab7a5fcc90bad45b52bafd
tree3670094d513c697c7156b1f0b6b664c0cd0f2ddb
parentd9beeb68e4d21ff98787dee78e6b1e7368bf88b0
xenapi: Resolve Coverity FORWARD_NULL

Since inception.  Coverity complains that the code checks "(record ==
NULL && !session->ok)", but doesn't check (record != NULL) before
dereferencing at "record->is_a_template"
src/xenapi/xenapi_driver.c