]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9124 BerElement sits on the stack
authorOndřej Kuzník <ondra@mistotebe.net>
Fri, 3 Jan 2020 10:52:12 +0000 (10:52 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 9 Jan 2020 17:07:04 +0000 (17:07 +0000)
servers/slapd/cancel.c

index a17e0857cca36d5cf2c430f4d564053e56da76f2..49e0c3e375a618999d94b5c7bab6825f6c1090a3 100644 (file)
@@ -57,8 +57,6 @@ int cancel_extop( Operation *op, SlapReply *rs )
                return LDAP_PROTOCOL_ERROR;
        }
 
-       (void) ber_free( ber, 1 );
-
        Statslog( LDAP_DEBUG_STATS, "%s CANCEL msg=%d\n",
                op->o_log_prefix, opid, 0, 0, 0 );