>From 8eb6bcfb0218040a77e972c6a48d9444630818e8 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 4 Sep 2012 16:45:29 +0200 Subject: [PATCH] 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(-) diff --git a/src/providers/ldap/sdap_id_op.c b/src/providers/ldap/sdap_id_op.c index 034813012c937dba3332a5e7ac11edcbd4d69fed..02142103b1266e00b2728f0ea7441560a133cb7a 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; -- 1.7.11.4