summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-08 15:24:57 +0200
committerAndrew Bartlett <abartlet@samba.org>2011-05-08 17:36:25 +0200
commit8882dab93e65bb20618ed1dbbd2279f1e3bdc9cb (patch)
tree96578461c2a5061e483570bd51542322c728d5fa /source4/rpc_server
parentac82ac4b83d3910734943bbc4caba5ef1efefe06 (diff)
downloadsamba-8882dab93e65bb20618ed1dbbd2279f1e3bdc9cb.tar.gz
s4-samr Remove incorrect transaction_cancel() in error path
The transactions are now handled entirely within dsdb_add_user() Andrew Bartlett
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/samr/dcesrv_samr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c
index 1c7416cb7be..62f56eb4d6a 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;