mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-11 09:22:54 -05:00
connection_fake_init can leak SLAPI extensions.
This commit is contained in:
parent
5a263ba88f
commit
0126348461
1 changed files with 7 additions and 2 deletions
|
|
@ -1974,8 +1974,13 @@ connection_fake_init(
|
|||
connection_init_log_prefix( op );
|
||||
|
||||
#ifdef LDAP_SLAPI
|
||||
slapi_int_create_object_extensions( SLAPI_X_EXT_CONNECTION, conn );
|
||||
slapi_int_create_object_extensions( SLAPI_X_EXT_OPERATION, op );
|
||||
/* FIXME: somebody needs to destroy these. Perhaps they should
|
||||
* only be allocated on the slab.
|
||||
*/
|
||||
if ( slapi_plugins_used ) {
|
||||
slapi_int_create_object_extensions( SLAPI_X_EXT_CONNECTION, conn );
|
||||
slapi_int_create_object_extensions( SLAPI_X_EXT_OPERATION, op );
|
||||
}
|
||||
#endif /* LDAP_SLAPI */
|
||||
|
||||
slap_op_time( &op->o_time, &op->o_tincr );
|
||||
|
|
|
|||
Loading…
Reference in a new issue