diff options
Diffstat (limited to 'src/ldap_helper.c')
-rw-r--r-- | src/ldap_helper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ldap_helper.c b/src/ldap_helper.c index a5e3078..c97fda3 100644 --- a/src/ldap_helper.c +++ b/src/ldap_helper.c @@ -406,6 +406,8 @@ retry: } END_FOR_EACH_UNLINK(ldap_conn); ldap_inst->auth_method = AUTH_NONE; goto retry; + } else if (result != ISC_R_SUCCESS) { + goto cleanup; } APPEND(ldap_inst->conn_list, ldap_conn, link); } |