Skip to content
Snippets Groups Projects
Commit 0e1f7377 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

reset request DN after free; confuses global overlays

parent be14ac9f
No related branches found
No related tags found
No related merge requests found
......@@ -293,9 +293,11 @@ old_good:
error_return:;
if ( !BER_BVISNULL( &op->o_req_dn ) ) {
op->o_tmpfree( op->o_req_dn.bv_val, op->o_tmpmemctx );
BER_BVZERO( &op->o_req_dn );
}
if ( !BER_BVISNULL( &op->o_req_ndn ) ) {
op->o_tmpfree( op->o_req_ndn.bv_val, op->o_tmpmemctx );
BER_BVZERO( &op->o_req_ndn );
}
return rc;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment