setupapi/tests: Remove check as we don't care how 'field' is allocated.
This commit is contained in:
parent
026b252b44
commit
dacb11533d
|
@ -461,11 +461,6 @@ static void test_pSetupGetField(void)
|
||||||
field = pSetupGetField( &context, i );
|
field = pSetupGetField( &context, i );
|
||||||
ok( field != NULL, "Failed to get field %i\n", i );
|
ok( field != NULL, "Failed to get field %i\n", i );
|
||||||
ok( !lstrcmpW( getfield_res[i], field ), "Wrong string returned\n" );
|
ok( !lstrcmpW( getfield_res[i], field ), "Wrong string returned\n" );
|
||||||
|
|
||||||
ret = HeapFree( GetProcessHeap(), 0, (LPVOID)field );
|
|
||||||
ok( !ret, "Expected HeapFree to fail\n" );
|
|
||||||
ok( GetLastError() == ERROR_INVALID_PARAMETER,
|
|
||||||
"Expected ERROR_INVALID_PARAMETER, got %u\n", GetLastError() );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
field = pSetupGetField( &context, 3 );
|
field = pSetupGetField( &context, 3 );
|
||||||
|
|
Loading…
Reference in New Issue