]> git.sur5r.net Git - openldap/commitdiff
For #6982 fix a66fb16
authorHoward Chu <hyc@openldap.org>
Thu, 18 Aug 2011 08:52:52 +0000 (01:52 -0700)
committerHoward Chu <hyc@openldap.org>
Thu, 18 Aug 2011 08:52:52 +0000 (01:52 -0700)
servers/slapd/operation.c

index f808320501e3d52d870e2b8487be728ec079f9e6..eff5f56429ab359397b9f02519c200d8a6e908b7 100644 (file)
@@ -128,6 +128,7 @@ slap_op_free( Operation *op, void *ctx )
        BER_BVZERO( &op->o_req_ndn );
        memset( &op->o_request, 0, sizeof( op->o_request ));
        memset( &op->o_do_not_cache, 0, sizeof( Operation ) - offsetof( Operation, o_do_not_cache ));
+       memset( opbuf->ob_controls, 0, sizeof( opbuf->ob_controls ));
        op->o_controls = opbuf->ob_controls;
 
        if ( ctx ) {