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:17:56 -0500 |
commit | 9fedb053d1b64c82b66368a6a3e88e9962faa281 (patch) | |
tree | e4ebdf34c88cf7df25f3028c49a3f7feb2fa1a35 | |
parent | 4f97f4cd9d4393bbfcd5a3c304e00f42865a94fb (diff) | |
download | sssd_unused-9fedb053d1b64c82b66368a6a3e88e9962faa281.tar.gz sssd_unused-9fedb053d1b64c82b66368a6a3e88e9962faa281.tar.xz sssd_unused-9fedb053d1b64c82b66368a6a3e88e9962faa281.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; } |