]> git.sur5r.net Git - openldap/commitdiff
ITS#897, internal connections need to free their single operation struct.
authorMark Adamson <adamson@openldap.org>
Fri, 8 Dec 2000 22:34:22 +0000 (22:34 +0000)
committerMark Adamson <adamson@openldap.org>
Fri, 8 Dec 2000 22:34:22 +0000 (22:34 +0000)
servers/slapd/connection.c

index a719924e2c570596690d3131bcd1fe3f119c8a8a..9ba74d49a002d54e073494901ede3f291fa77475 100644 (file)
@@ -1318,6 +1318,10 @@ int connection_internal_open( Connection **conn, LDAP **ldp, const char *id )
 
 void connection_internal_close( Connection *conn )
 {
+       Operation *op = conn->c_ops;
+
+       slap_op_remove( &conn->c_ops, op );
+       slap_op_free( op );
        connection_closing( conn );
        connection_close( conn );
 }