diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-05-08 15:24:57 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-05-08 17:36:25 +0200 |
commit | 8882dab93e65bb20618ed1dbbd2279f1e3bdc9cb (patch) | |
tree | 96578461c2a5061e483570bd51542322c728d5fa /source4/rpc_server | |
parent | ac82ac4b83d3910734943bbc4caba5ef1efefe06 (diff) | |
download | samba-8882dab93e65bb20618ed1dbbd2279f1e3bdc9cb.tar.gz samba-8882dab93e65bb20618ed1dbbd2279f1e3bdc9cb.tar.xz samba-8882dab93e65bb20618ed1dbbd2279f1e3bdc9cb.zip |
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.c | 1 |
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; |