mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
cosmetic cleanup
This commit is contained in:
parent
4e6fd44213
commit
4e06af2247
2 changed files with 5 additions and 3 deletions
|
|
@ -183,6 +183,7 @@ do_extended(
|
|||
|
||||
op->o_bd = frontendDB;
|
||||
rs->sr_err = frontendDB->be_extended( op, rs );
|
||||
|
||||
done:
|
||||
return rs->sr_err;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue