From: Volker Lendecke Date: Mon, 7 Apr 2008 10:19:25 +0000 (+0200) Subject: Fix an uninitialized variable X-Git-Tag: samba-3.3.0pre1~2887 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b2d9ee8c54ed84f83fdecf04e656dd66b622abb;p=thirdparty%2Fsamba.git Fix an uninitialized variable --- diff --git a/source/nsswitch/wbinfo.c b/source/nsswitch/wbinfo.c index 80a72903438..ba358bd1dd7 100644 --- a/source/nsswitch/wbinfo.c +++ b/source/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')) {