c9679ed conf: avoid null deref during storage probe

Authored and Committed by ericb 10 years ago
    conf: avoid null deref during storage probe
    
    Commit 5c43e2e introduced a NULL deref if there is a failure
    in virStorageFileGetMetadataInternal.
    
    * src/util/virstoragefile.c (virStorageFileGetMetadataFromBuf):
    Fix error handling.
    
    Signed-off-by: Eric Blake <eblake@redhat.com>
    
        
file modified
+11 -11