Commit 755f7854 authored by Howard Chu's avatar Howard Chu
Browse files

Memory context fixes

parent 30b3d741
......@@ -195,7 +195,7 @@ static int indexer(
for( i=0; keys[i].bv_val != NULL; i++ ) {
rc = bdb_key_change( op->o_bd, db, txn, &keys[i], id, opid );
if( rc ) {
ber_bvarray_free( keys );
ber_bvarray_free_x( keys, op->o_tmpmemctx );
goto done;
}
}
......@@ -216,7 +216,7 @@ static int indexer(
for( i=0; keys[i].bv_val != NULL; i++ ) {
rc = bdb_key_change( op->o_bd, db, txn, &keys[i], id, opid );
if( rc ) {
ber_bvarray_free( keys );
ber_bvarray_free_x( keys, op->o_tmpmemctx );
goto done;
}
}
......@@ -238,7 +238,7 @@ static int indexer(
for( i=0; keys[i].bv_val != NULL; i++ ) {
bdb_key_change( op->o_bd, db, txn, &keys[i], id, opid );
if( rc ) {
ber_bvarray_free( keys );
ber_bvarray_free_x( keys, op->o_tmpmemctx );
goto done;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment