Fix previous commit

This commit is contained in:
Howard Chu 2003-04-11 01:53:31 +00:00
parent ece7452b05
commit aa470b8052
3 changed files with 7 additions and 7 deletions

View file

@ -478,7 +478,7 @@ equality_candidates(
if( idl == NULL ) break;
}
ber_bvarray_free( keys );
ber_bvarray_free_x( keys, op->o_tmpmemctx );
ldbm_cache_close( op->o_bd, db );
@ -657,7 +657,7 @@ approx_candidates(
if( idl == NULL ) break;
}
ber_bvarray_free( keys );
ber_bvarray_free_x( keys, op->o_tmpmemctx );
ldbm_cache_close( op->o_bd, db );
@ -888,7 +888,7 @@ substring_candidates(
if( idl == NULL ) break;
}
ber_bvarray_free( keys );
ber_bvarray_free_x( keys, op->o_tmpmemctx );
ldbm_cache_close( op->o_bd, db );

View file

@ -190,7 +190,7 @@ static int indexer(
for( i=0; keys[i].bv_val != NULL; i++ ) {
key_change( op->o_bd, db, &keys[i], id, opid );
}
ber_bvarray_free( keys );
ber_bvarray_free_x( keys, op->o_tmpmemctx );
}
}
@ -206,7 +206,7 @@ static int indexer(
for( i=0; keys[i].bv_val != NULL; i++ ) {
key_change( op->o_bd, db, &keys[i], id, opid );
}
ber_bvarray_free( keys );
ber_bvarray_free_x( keys, op->o_tmpmemctx );
}
}
@ -222,7 +222,7 @@ static int indexer(
for( i=0; keys[i].bv_val != NULL; i++ ) {
key_change( op->o_bd, db, &keys[i], id, opid );
}
ber_bvarray_free( keys );
ber_bvarray_free_x( keys, op->o_tmpmemctx );
}
}

View file

@ -230,7 +230,7 @@ int slap_sasl_authorized( Connection *conn,
}
int slap_mods_check( Modifications *ml, int update, const char **text,
char *textbuf, size_t textlen )
char *textbuf, size_t textlen, void *ctx )
{
return -1;
}