]> 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>
Fri, 18 Feb 2022 23:17:52 +0000 (23:17 +0000)
servers/slapd/connection.c

index 0b0f9f8c32ec4e3686f8384dec74ee6d028aba40..1e7a09976fbe81241225db73f66b73dfd62f012f 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