616003d domain_conf: fix crash in virDomainObjListFindByUUIDInternal

1 file Authored by mchapman 9 years ago, Committed by Peter Krempa 9 years ago,
    domain_conf: fix crash in virDomainObjListFindByUUIDInternal
    
    If a domain object is being removed and looked up concurrently we must
    ensure we unlock the object before unreferencing it, since the latter
    might free the object.
    
    The flaw was introduced in commit feb1a4d792e1c35b1009e69c00bf351b39.
    
    Signed-off-by: Michael Chapman <mike@very.puzzling.org>
    
        
file modified
+1 -1