diff options
author | Sumit Bose <sbose@redhat.com> | 2011-03-09 12:52:39 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-03-09 14:14:35 -0500 |
commit | d0d3497c10a02e8489198dc3e1edc621bfac0c6d (patch) | |
tree | dc749939ee48b120d00c2f7d65370b7c1dcd251f | |
parent | 17c440cc709467ffb465972a67094351bc445a24 (diff) | |
download | sssd-d0d3497c10a02e8489198dc3e1edc621bfac0c6d.tar.gz sssd-d0d3497c10a02e8489198dc3e1edc621bfac0c6d.tar.bz2 sssd-d0d3497c10a02e8489198dc3e1edc621bfac0c6d.zip |
Release handle if not connected
-rw-r--r-- | src/providers/ldap/sdap_async.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async.c b/src/providers/ldap/sdap_async.c index 134f3972..ebd8d485 100644 --- a/src/providers/ldap/sdap_async.c +++ b/src/providers/ldap/sdap_async.c @@ -172,6 +172,7 @@ static void sdap_process_result(struct tevent_context *ev, void *pvt) if (!sh->connected || !sh->ldap) { DEBUG(2, ("ERROR: LDAP connection is not connected!\n")); + sdap_handle_release(sh); return; } |