summaryrefslogtreecommitdiff
path: root/src/providers/ldap
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/ldap')
-rw-r--r--src/providers/ldap/sdap_id_op.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/providers/ldap/sdap_id_op.c b/src/providers/ldap/sdap_id_op.c
index 03481301..02142103 100644
--- a/src/providers/ldap/sdap_id_op.c
+++ b/src/providers/ldap/sdap_id_op.c
@@ -842,12 +842,6 @@ int sdap_id_op_done(struct sdap_id_op *op, int retval, int *dp_err_out)
if (current_conn) {
DEBUG(9, ("releasing operation connection\n"));
sdap_id_op_hook_conn_data(op, NULL);
-
- if (current_conn->ops == NULL || current_conn->disconnecting) {
- DEBUG(SSSDBG_TRACE_FUNC, ("Connection is marked for "
- "disconnection, executing ...\n"));
- sdap_id_release_conn_data(current_conn);
- }
}
*dp_err_out = dp_err;