From cae77784dbd3d8cd1055a7bc57e9f4507f4dda0c Mon Sep 17 00:00:00 2001 From: Elad <18193363+elad335@users.noreply.github.com> Date: Sat, 29 Nov 2025 06:09:04 +0200 Subject: [PATCH] UTs: Fix AlignedAllocator.Realloc test _aligned_realloc may return the same pointer if the internal implementation finds it suitable. Fixes Windows' builds. --- rpcs3/tests/test_simple_array.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/rpcs3/tests/test_simple_array.cpp b/rpcs3/tests/test_simple_array.cpp index 05bba60f4a..8d64599b96 100644 --- a/rpcs3/tests/test_simple_array.cpp +++ b/rpcs3/tests/test_simple_array.cpp @@ -341,7 +341,6 @@ namespace rsx const auto ptr_value = reinterpret_cast(ptr2); rsx::aligned_allocator::free(ptr2); - EXPECT_NE(ptr, ptr2); EXPECT_NE(ptr_value, 0); EXPECT_EQ(ptr_value % 256, 0); }