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-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0806f69c8c6ac6946c88356f65d9120bf43bdfa4;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 c739614fe0..44ec5b42e1 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