mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
cleanup
This commit is contained in:
parent
4971ea14bb
commit
5ecdfd13b4
@ -2290,7 +2290,7 @@ acl_destroy( AccessControl *a, AccessControl *end )
|
||||
{
|
||||
AccessControl *n;
|
||||
|
||||
for (; a && a!= end; a=n) {
|
||||
for ( ; a && a != end; a = n ) {
|
||||
n = a->acl_next;
|
||||
acl_free( a );
|
||||
}
|
||||
|
@ -731,7 +731,7 @@ slap_send_search_entry( Operation *op, SlapReply *rs )
|
||||
struct berval bv;
|
||||
|
||||
bv.bv_len = entry_flatsize( rs->sr_entry, 0 );
|
||||
bv.bv_val = op->o_tmpalloc(bv.bv_len, op->o_tmpmemctx );
|
||||
bv.bv_val = op->o_tmpalloc( bv.bv_len, op->o_tmpmemctx );
|
||||
|
||||
ber_init2( ber, &bv, LBER_USE_DER );
|
||||
ber_set_option( ber, LBER_OPT_BER_MEMCTX, &op->o_tmpmemctx );
|
||||
|
Loading…
Reference in New Issue
Block a user