From 52828e4cc7f980f9e41fb604270a90b5e197c806 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 4 Sep 2012 16:45:29 +0200 Subject: Don't terminate the same connection twice https://fedorahosted.org/sssd/ticket/1488 --- src/providers/ldap/sdap_id_op.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') diff --git a/src/providers/ldap/sdap_id_op.c b/src/providers/ldap/sdap_id_op.c index 034813012..02142103b 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; -- cgit