mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 10:07:56 -05:00
ITS#897, internal connections need to free their single operation struct.
This commit is contained in:
parent
7a458492a3
commit
466ff113e1
1 changed files with 4 additions and 0 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue