]> git.sur5r.net Git - openldap/commitdiff
More abandon paranoia
authorHoward Chu <hyc@openldap.org>
Wed, 24 Aug 2011 21:57:36 +0000 (14:57 -0700)
committerHoward Chu <hyc@openldap.org>
Wed, 24 Aug 2011 21:57:36 +0000 (14:57 -0700)
servers/slapd/operation.c

index eff5f56429ab359397b9f02519c200d8a6e908b7..1d84d0c7eaf07f78d573e9142bbd10f28f45683a 100644 (file)
@@ -79,6 +79,9 @@ slap_op_free( Operation *op, void *ctx )
 
        assert( LDAP_STAILQ_NEXT(op, o_next) == NULL );
 
+       /* paranoia */
+       op->o_abandon = 1;
+
        if ( op->o_ber != NULL ) {
                ber_free( op->o_ber, 1 );
        }