summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-04-07 12:19:25 +0200
committerVolker Lendecke <vl@samba.org>2008-04-07 12:20:21 +0200
commit4f715d110279098bb62cb3f5b0831f1a8868068a (patch)
treea3419fc3f3bc2fffdd61cede4f23af2db5cd312d
parentb6e9fffaa2cdb45533cf8fd751a4a857124e5a2c (diff)
downloadsamba-4f715d110279098bb62cb3f5b0831f1a8868068a.tar.gz
samba-4f715d110279098bb62cb3f5b0831f1a8868068a.tar.bz2
samba-4f715d110279098bb62cb3f5b0831f1a8868068a.zip
Fix an uninitialized variable
(This used to be commit 8b2d9ee8c54ed84f83fdecf04e656dd66b622abb)
-rw-r--r--source3/nsswitch/wbinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/wbinfo.c b/source3/nsswitch/wbinfo.c
index 80a7290343..ba358bd1dd 100644
--- a/source3/nsswitch/wbinfo.c
+++ b/source3/nsswitch/wbinfo.c
@@ -811,7 +811,7 @@ static bool wbinfo_lookuprids(const char *domain, const char *arg)
uint32 *rids = NULL;
const char *p;
char *ridstr;
- TALLOC_CTX *mem_ctx;
+ TALLOC_CTX *mem_ctx = NULL;
bool ret = false;
if ((domain == NULL) || (strequal(domain, ".")) || (domain[0] == '\0')) {