cosmetic cleanup

This commit is contained in:
Pierangelo Masarati 2005-01-12 21:02:58 +00:00
parent 4e6fd44213
commit 4e06af2247
2 changed files with 5 additions and 3 deletions

View file

@ -183,6 +183,7 @@ do_extended(
op->o_bd = frontendDB;
rs->sr_err = frontendDB->be_extended( op, rs );
done:
return rs->sr_err;
}

View file

@ -181,7 +181,6 @@ do_modrdn(
rs->sr_err = frontendDB->be_modrdn( op, rs );
cleanup:
slap_graduate_commit_csn( op );
op->o_tmpfree( op->o_req_dn.bv_val, op->o_tmpmemctx );
@ -190,8 +189,10 @@ cleanup:
op->o_tmpfree( op->orr_newrdn.bv_val, op->o_tmpmemctx );
op->o_tmpfree( op->orr_nnewrdn.bv_val, op->o_tmpmemctx );
if ( pnewSuperior.bv_val ) op->o_tmpfree( pnewSuperior.bv_val, op->o_tmpmemctx );
if ( nnewSuperior.bv_val ) op->o_tmpfree( nnewSuperior.bv_val, op->o_tmpmemctx );
if ( !BER_BVISNULL( &pnewSuperior ) )
op->o_tmpfree( pnewSuperior.bv_val, op->o_tmpmemctx );
if ( !BER_BVISNULL( &nnewSuperior ) )
op->o_tmpfree( nnewSuperior.bv_val, op->o_tmpmemctx );
return rs->sr_err;
}