reset request DN after free; confuses global overlays

This commit is contained in:
Pierangelo Masarati 2005-11-10 03:42:44 +00:00
parent be14ac9fed
commit 0e1f737774

View file

@ -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;