fix previous commit

This commit is contained in:
Pierangelo Masarati 2005-06-01 19:36:58 +00:00
parent 3751f0325d
commit 4d58c2f39f

View file

@ -2399,7 +2399,7 @@ backsql_entry_clean(
ctx = ldap_pvt_thread_pool_context();
if ( ctx == NULL || ctx == op->o_tmpmemctx ) {
if ( ctx == NULL || ctx != op->o_tmpmemctx ) {
if ( !BER_BVISNULL( &e->e_name ) ) {
op->o_tmpfree( e->e_name.bv_val, op->o_tmpmemctx );
BER_BVZERO( &e->e_name );