Destroy the unbind operation when acted upon

This commit is contained in:
Ondřej Kuzník 2017-05-03 12:04:03 +01:00 committed by Ondřej Kuzník
parent 9d66c26be5
commit 7a29fabd09

View File

@ -164,6 +164,8 @@ handle_one_request( Connection *c )
switch ( op->o_tag ) {
case LDAP_REQ_UNBIND:
/* There is never a response for this operation */
operation_destroy_from_client( op );
c->c_state = SLAP_C_CLOSING;
CLIENT_DESTROY(c);
return -1;