ee3a86d uml: Fix umlInotifyEvent dom object handling

Authored and Committed by John Ferlan 6 years ago
    uml: Fix umlInotifyEvent dom object handling
    
    The virDomainObjListFindByName will return a locked and reffed
    object. If we call virDomainObjListRemove that will unlock the
    object upon return, thus we need to relock the object before
    making the call to virDomainObjEndAPI.
    
    Signed-off-by: John Ferlan <jferlan@redhat.com>
    Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
    
        
file modified
+9 -3