fix test in case of bailout (ITS#4891)

This commit is contained in:
Pierangelo Masarati 2007-03-22 22:30:53 +00:00
parent d9958cbdbe
commit 18fc3548cd

View File

@ -489,7 +489,8 @@ cleanup:;
if ( !BER_BVISNULL( &o.o_req_ndn ) ) {
op->o_tmpfree( o.o_req_ndn.bv_val, op->o_tmpmemctx );
}
assert( o.ors_filterstr.bv_val != lud->lud_filter );
assert( BER_BVISNULL( &o.ors_filterstr )
|| o.ors_filterstr.bv_val != lud->lud_filter );
op->o_tmpfree( o.ors_filterstr.bv_val, op->o_tmpmemctx );
ldap_free_urldesc( lud );
}