diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-02-19 21:01:42 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-02-21 21:28:49 -0500 |
commit | 4f2951e4d3b4470babd76dffff7ef89b1f7bd7d3 (patch) | |
tree | 5c22389580c5dd9a6b118e0e554aa534b6b5d9fd /src/providers | |
parent | 237eb8b15829c9b9dd630c6db7fff9f1f2e27ed7 (diff) | |
download | sssd-4f2951e4d3b4470babd76dffff7ef89b1f7bd7d3.tar.gz sssd-4f2951e4d3b4470babd76dffff7ef89b1f7bd7d3.tar.bz2 sssd-4f2951e4d3b4470babd76dffff7ef89b1f7bd7d3.zip |
End request if ldap_parse_result fails
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/ldap/sdap_async.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async.c b/src/providers/ldap/sdap_async.c index 996a6716..2b9268de 100644 --- a/src/providers/ldap/sdap_async.c +++ b/src/providers/ldap/sdap_async.c @@ -1254,6 +1254,9 @@ static void sdap_get_generic_ext_done(struct sdap_op *op, DEBUG(2, ("Unexpected result from ldap: %s(%d), %s\n", sss_ldap_err2string(result), result, errmsg ? errmsg : "no errmsg set")); + ldap_memfree(errmsg); + tevent_req_error(req, EIO); + return; } ldap_memfree(errmsg); |