Commit 2bc8e076 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

advapi32: Close hTemp on error (Coverity).

parent 18c51a9c
...@@ -3144,6 +3144,7 @@ static void test_GetNamedSecurityInfoA(void) ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment