0b60f88 virCapabilitiesInitCaches: Don't leak cache dir

Authored and Committed by mprivozn 7 years ago
    virCapabilitiesInitCaches: Don't leak cache dir
    
    To every virDirOpen we must have VIR_DIR_CLOSE otherwise FD is
    leaked.
    
    Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
    Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
    
        
file modified
+3 -1