summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-04-23 10:49:41 +0200
committerVolker Lendecke <vl@samba.org>2009-04-23 10:50:54 +0200
commit951de687216b13e35876325e7b3c8081ea725dc8 (patch)
tree59d92aa64d417487632a3a4ad53691f6de5c659c /source4/rpc_server
parent20127703938d10b05765e2cba85dbd3ad33a4fdb (diff)
downloadsamba-951de687216b13e35876325e7b3c8081ea725dc8.tar.gz
samba-951de687216b13e35876325e7b3c8081ea725dc8.tar.bz2
samba-951de687216b13e35876325e7b3c8081ea725dc8.zip
Fix Coverity ID 628, Andrew B., please check!
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/lsa/dcesrv_lsa.c2
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;
}