advapi32: Close hTemp on error (Coverity).
This commit is contained in:
parent
18c51a9c00
commit
2bc8e076e0
|
@ -3144,6 +3144,7 @@ static void test_GetNamedSecurityInfoA(void)
|
||||||
if (error != ERROR_SUCCESS && (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED))
|
if (error != ERROR_SUCCESS && (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED))
|
||||||
{
|
{
|
||||||
win_skip("GetNamedSecurityInfoA is not implemented\n");
|
win_skip("GetNamedSecurityInfoA is not implemented\n");
|
||||||
|
CloseHandle(hTemp);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ok(!error, "GetNamedSecurityInfo failed with error %d\n", error);
|
ok(!error, "GetNamedSecurityInfo failed with error %d\n", error);
|
||||||
|
|
Loading…
Reference in New Issue