1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s3: Fix a memleak in user_in_group_sid

This commit is contained in:
Volker Lendecke 2010-04-11 12:44:01 +02:00
parent a2d1e5e0f7
commit 3c169c0475

View File

@ -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;
}