From: Mark Adamson Date: Fri, 8 Dec 2000 22:34:22 +0000 (+0000) Subject: ITS#897, internal connections need to free their single operation struct. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1627 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=466ff113e184deb33849e7e1a708384c4aececa3;p=openldap ITS#897, internal connections need to free their single operation struct. --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index a719924e2c..9ba74d49a0 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -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 ); }