diff options
author | Volker Lendecke <vl@samba.org> | 2009-04-23 10:49:41 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-04-23 10:50:54 +0200 |
commit | 951de687216b13e35876325e7b3c8081ea725dc8 (patch) | |
tree | 59d92aa64d417487632a3a4ad53691f6de5c659c | |
parent | 20127703938d10b05765e2cba85dbd3ad33a4fdb (diff) | |
download | samba-951de687216b13e35876325e7b3c8081ea725dc8.tar.gz samba-951de687216b13e35876325e7b3c8081ea725dc8.tar.bz2 samba-951de687216b13e35876325e7b3c8081ea725dc8.zip |
Fix Coverity ID 628, Andrew B., please check!
-rw-r--r-- | source4/rpc_server/lsa/dcesrv_lsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/lsa/dcesrv_lsa.c b/source4/rpc_server/lsa/dcesrv_lsa.c index 1f1f6afa6d..cbadf654fb 100644 --- a/source4/rpc_server/lsa/dcesrv_lsa.c +++ b/source4/rpc_server/lsa/dcesrv_lsa.c @@ -933,7 +933,7 @@ static NTSTATUS dcesrv_lsa_CreateTrustedDomain_base(struct dcesrv_call_state *dc if (r->in.info->trust_direction & LSA_TRUST_DIRECTION_INBOUND) { msg_user = ldb_msg_new(mem_ctx); - if (msg == NULL) { + if (msg_user == NULL) { ldb_transaction_cancel(trusted_domain_state->policy->sam_ldb); return NT_STATUS_NO_MEMORY; } |