mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Do not leak responses to abandoned ops
This commit is contained in:
parent
7a29fabd09
commit
c5584fd32a
1 changed files with 2 additions and 0 deletions
|
|
@ -340,6 +340,8 @@ handle_one_response( Connection *c )
|
|||
} else if ( !( op = tavl_find(
|
||||
c->c_ops, &needle, operation_upstream_cmp ) ) ) {
|
||||
/* Already abandoned, do nothing */
|
||||
ber_free( ber, 1 );
|
||||
return rc;
|
||||
/*
|
||||
} else if ( op->o_response_pending ) {
|
||||
c->c_pendingop = op;
|
||||
|
|
|
|||
Loading…
Reference in a new issue