From 3c169c0475bc4f69c81b93a66884cc3cd9ba19dc Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 11 Apr 2010 12:44:01 +0200 Subject: s3: Fix a memleak in user_in_group_sid --- source3/auth/auth_util.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/auth') diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index 1362956e0a..05a530d176 100644 --- a/source3/auth/auth_util.c +++ b/source3/auth/auth_util.c @@ -1100,6 +1100,7 @@ bool user_in_group_sid(const char *username, const DOM_SID *group_sid) if (!NT_STATUS_IS_OK(status)) { DEBUG(10, ("could not create token for %s\n", username)); + TALLOC_FREE(mem_ctx); return False; } -- cgit