c50c664 util: Resolve Coverity FORWARD_NULL

Authored and Committed by John Ferlan 8 years ago
    util: Resolve Coverity FORWARD_NULL
    
    Convert virPCIDriverDir to return the buffer allocated (or not) and make the
    appropriate check in the caller.
    
    Signed-off-by: John Ferlan <jferlan@redhat.com>
    
        
file modified
+7 -8