summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
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;
}