summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-04-11 12:44:01 +0200
committerVolker Lendecke <vl@samba.org>2010-04-11 13:53:20 +0200
commit3c169c0475bc4f69c81b93a66884cc3cd9ba19dc (patch)
treeb139675bfc0e41d9634a6c485083e2f42be0a2ee /source3/auth
parenta2d1e5e0f77220f912cacb821a928c5e5a952e47 (diff)
downloadsamba-3c169c0475bc4f69c81b93a66884cc3cd9ba19dc.tar.gz
samba-3c169c0475bc4f69c81b93a66884cc3cd9ba19dc.tar.bz2
samba-3c169c0475bc4f69c81b93a66884cc3cd9ba19dc.zip
s3: Fix a memleak in user_in_group_sid
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_util.c1
1 files changed, 1 insertions, 0 deletions
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;
}