]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9799 Clear c_n_ops_pending after we've flushed c_pending_ops
authorOndřej Kuzník <okuznik@symas.com>
Thu, 10 Feb 2022 17:30:17 +0000 (17:30 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 14 Feb 2022 17:32:01 +0000 (17:32 +0000)
servers/slapd/connection.c

index c739614fe06ae4528e65b2b0a775c3f768b71860..44ec5b42e12a42403d45d3a108b9a9983bc88764 100644 (file)
@@ -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