]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virhook: Resolve Coverity NULL_RETURNS
authorJohn Ferlan <jferlan@redhat.com>
Tue, 30 Sep 2014 11:01:49 +0000 (07:01 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 1 Dec 2014 16:07:31 +0000 (11:07 -0500)
commitf7212f6bd3c06a9ca51039d16e7d0515ec56493d
tree3ac9380444a301d64456ada85d18a4e8438f8fc9
parent59802f23bccdcf454aae2b4482467a9810ca1096
virhook: Resolve Coverity NULL_RETURNS

Coverity complains that many other callers to return err from
virGetLastError() will check if err is not NULL before dereferencing
it.  Just do the same here for safety.
src/util/virhook.c