From 8882dab93e65bb20618ed1dbbd2279f1e3bdc9cb Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 8 May 2011 15:24:57 +0200 Subject: s4-samr Remove incorrect transaction_cancel() in error path The transactions are now handled entirely within dsdb_add_user() Andrew Bartlett --- source4/rpc_server/samr/dcesrv_samr.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source4/rpc_server/samr') diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c index 1c7416cb7b..62f56eb4d6 100644 --- a/source4/rpc_server/samr/dcesrv_samr.c +++ b/source4/rpc_server/samr/dcesrv_samr.c @@ -1205,7 +1205,6 @@ static NTSTATUS dcesrv_samr_CreateUser2(struct dcesrv_call_state *dce_call, TALL } a_state = talloc(mem_ctx, struct samr_account_state); if (!a_state) { - ldb_transaction_cancel(d_state->sam_ctx); return NT_STATUS_NO_MEMORY; } a_state->sam_ctx = d_state->sam_ctx; -- cgit