Bernhard Übelacker wine@gitlab.winehq.org wrote:
+static void test_setlocale_threads(void) +{
- HANDLE threads[64];
- for (intptr_t i = 0; i < ARRAY_SIZE(threads); i++)
- {
threads[i] = CreateThread(NULL, 0, test_setlocale_threads_proc, (void*)i, 0, NULL);
ok(threads[i] != NULL, "CreateThread failed\n");
- }
- WaitForMultipleObjects(ARRAY_SIZE(threads), threads, TRUE, INFINITE);
+}
I'd guess that leaking 64 handles for such a small test is too much.