Commit dacb1153 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

setupapi/tests: Remove check as we don't care how 'field' is allocated.

parent 026b252b
...@@ -461,11 +461,6 @@ static void test_pSetupGetField(void) ...@@ -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 );
......
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