]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
util: Resolve Coverity FORWARD_NULL
authorJohn Ferlan <jferlan@redhat.com>
Tue, 30 Jun 2015 19:23:31 +0000 (15:23 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 1 Jul 2015 16:15:08 +0000 (12:15 -0400)
commitd7ddb4c2f07fd5c3360cd2aee9107a56b2367ed8
tree2de774300d6422c601759120dfa5434ae745471f
parent302146b16d204e3feb8f04a9f81b8f587c827302
util: Resolve Coverity FORWARD_NULL

Convert virPCIFile to return the buffer allocated (or not) and make the
appropriate check in the caller.

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