]> xenbits.xensource.com Git - libvirt.git/commit
util: Resolve Coverity FORWARD_NULL
authorJohn Ferlan <jferlan@redhat.com>
Tue, 30 Jun 2015 19:49:05 +0000 (15:49 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 1 Jul 2015 16:15:12 +0000 (12:15 -0400)
commite3939e86bae2ecdd08ac2ff65bd035ab4462dc0d
treef00294bedd96f91c764f85130c0f3ccf83bc8a24
parentd7ddb4c2f07fd5c3360cd2aee9107a56b2367ed8
util: Resolve Coverity FORWARD_NULL

Convert virPCIDriverFile 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