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:
Nikolay Sivov 2017-07-11 12:01:42 +03:00 committed by Alexandre Julliard
parent df522c5a06
commit a0ac14456b
1 changed files with 1 additions and 0 deletions

View File

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