ea8baa5 LDAP: Return correct error code

1 file Authored by lslebodn 10 years ago, Committed by jhrozek 10 years ago,
    LDAP: Return correct error code
    
    If talloc_array return NULL we should return right error code from function
    sdap_domain_subdom_add. It might happen that we could return either wrong error
    code or uninitialized variable ret.