From: Ondřej Kuzník Date: Thu, 10 Feb 2022 17:30:17 +0000 (+0000) Subject: ITS#9799 Clear c_n_ops_pending after we've flushed c_pending_ops X-Git-Tag: OPENLDAP_REL_ENG_2_5_12~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3151db25f5e08c4b7ec2d0e2b83d59693a2b501;p=thirdparty%2Fopenldap.git ITS#9799 Clear c_n_ops_pending after we've flushed c_pending_ops --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 0b0f9f8c32..1e7a09976f 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -734,6 +734,7 @@ static void connection_abandon( Connection *c ) LDAP_STAILQ_NEXT(o, o_next) = NULL; slap_op_free( o, NULL ); } + c->c_n_ops_pending = 0; } static void