Commit 04097b4f authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

kernel32/tests: Check return value of NtGetNlsSectionPtr in test_GetCPInfo (Coverity).

parent b7223aff
......@@ -4043,6 +4043,7 @@ static void test_GetCPInfo(void)
ok( !status, "failed %x\n", status );
ok( size > 0x1000 && size <= 0x8000 , "wrong size %lx\n", size );
status = pNtGetNlsSectionPtr( 10, 0, NULL, &ptr2, &size );
ok( !status, "failed %x\n", status );
ok( ptr != ptr2, "got same pointer\n" );
ret = UnmapViewOfFile( ptr );
ok( ret, "UnmapViewOfFile failed err %u\n", GetLastError() );
......
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