summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-02-12 17:21:17 -0800
committerJeremy Allison <jra@samba.org>2008-02-12 17:21:17 -0800
commita6997bb2ffbca8f38d40f2631066c23b0472e13c (patch)
treee3d1522deed257adb2c202602a132059640be150
parent9673162236c5ab5e1d52b6bb4b3af6902e9adcf4 (diff)
downloadsamba-a6997bb2ffbca8f38d40f2631066c23b0472e13c.tar.gz
samba-a6997bb2ffbca8f38d40f2631066c23b0472e13c.tar.bz2
samba-a6997bb2ffbca8f38d40f2631066c23b0472e13c.zip
Prevent "parameters" being used without initialization.
Jeremy. (This used to be commit f0195e937d5d42a8d92e9d861199538fd44a3c9b)
-rw-r--r--source3/rpc_server/srv_samr_nt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index 3637560a7f..0db74c2a1b 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -2476,6 +2476,8 @@ static NTSTATUS get_user_info_21(TALLOC_CTX *mem_ctx,
TALLOC_FREE(pw);
return NT_STATUS_NO_MEMORY;
}
+ } else {
+ parameters = NULL;
}