Fix an uninitialized variable
authorVolker Lendecke <vl@samba.org>
Mon, 7 Apr 2008 10:19:25 +0000 (12:19 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 7 Apr 2008 10:20:21 +0000 (12:20 +0200)
(This used to be commit 8b2d9ee8c54ed84f83fdecf04e656dd66b622abb)

source3/nsswitch/wbinfo.c

index 80a72903438f70387db3497686a3954bcc172c9e..ba358bd1dd7493a7b0dd4b6bf1941c8447b8edb9 100644 (file)
@@ -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')) {