62445b8 Don't leave dangling map if adding an indirect map fails

Authored and Committed by rcritten 12 years ago
    Don't leave dangling map if adding an indirect map fails
    
    When using the add_indirect helper we create a new map and then add a key
    for it all in one step. If adding the key fails for any reason be sure to
    remove the map we added.
    
    https://fedorahosted.org/freeipa/ticket/1520
    
        
file modified
+10 -5