advapi32/tests: Fix a sid string leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
df522c5a06
commit
a0ac14456b
|
@ -6777,6 +6777,7 @@ static void test_token_label(void)
|
|||
sid = (SID *)&ace->SidStart;
|
||||
ConvertSidToStringSidA(sid, &str);
|
||||
ok(EqualSid(sid, &medium_sid) || EqualSid(sid, &high_sid), "Got unexpected SID %s\n", str);
|
||||
LocalFree(str);
|
||||
}
|
||||
|
||||
ret = GetSecurityDescriptorDacl(sd, &present, &dacl, &defaulted);
|
||||
|
|
Loading…
Reference in New Issue