Commit fc8bf8d3 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

ntdll/tests: Use FindClose() to close handles returned by FindFirstFileW() (Valgrind).

parent 2d218c92
......@@ -2319,7 +2319,7 @@ static void test_file_link_information(void)
"Link did not change casing on existing target file: got %s\n", wine_dbgstr_w(find_data.cFileName));
}
CloseHandle( handle );
FindClose( handle );
HeapFree( GetProcessHeap(), 0, fli );
delete_object( oldpath );
delete_object( newpath );
......@@ -2904,7 +2904,7 @@ static void test_file_link_information(void)
"Link did not change casing on same file: got %s\n", wine_dbgstr_w(find_data.cFileName));
}
CloseHandle( handle );
FindClose( handle );
HeapFree( GetProcessHeap(), 0, fli );
delete_object( oldpath );
}
......
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