]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Destroy the unbind operation when acted upon
authorOndřej Kuzník <ondra@mistotebe.net>
Wed, 3 May 2017 11:04:03 +0000 (12:04 +0100)
committerOndřej Kuzník <okuznik@symas.com>
Tue, 17 Nov 2020 17:55:46 +0000 (17:55 +0000)
servers/lloadd/client.c

index fc7edc59e6711881091114b77ebafe83223b0f33..cd9d4c8d855921d09605244508564f3ad009adb3 100644 (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;