mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 22:50:51 -05:00
Fix call to connection_fake_init, plug leak
This commit is contained in:
parent
c49f17bfdd
commit
540878020a
1 changed files with 3 additions and 1 deletions
|
|
@ -706,6 +706,7 @@ monitor_search2ndn(
|
|||
Connection conn = { 0 };
|
||||
OperationBuffer opbuf;
|
||||
Operation *op;
|
||||
void *thrctx;
|
||||
SlapReply rs = { 0 };
|
||||
slap_callback cb = { NULL, monitor_search2ndn_cb, NULL, NULL };
|
||||
int rc;
|
||||
|
|
@ -717,7 +718,8 @@ monitor_search2ndn(
|
|||
}
|
||||
|
||||
op = (Operation *) &opbuf;
|
||||
connection_fake_init( &conn, op, &conn );
|
||||
thrctx = ldap_pvt_thread_pool_context();
|
||||
connection_fake_init( &conn, op, thrctx );
|
||||
|
||||
op->o_tag = LDAP_REQ_SEARCH;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue