Skip to content

Commit 05f6b92

Browse files
committed
Fix the ReallocSmallerToLargerTest test
1 parent 1266f4d commit 05f6b92

File tree

1 file changed

+1
-1
lines changed
  • src/libraries/System.Runtime.InteropServices/tests/System/Runtime/InteropServices

1 file changed

+1
-1
lines changed

src/libraries/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/NativeMemoryTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ public void ReallocSmallerToLargerTest()
433433
Assert.True(((byte*)newPtr)[i] == i);
434434
}
435435

436-
NativeMemory.AlignedFree(newPtr);
436+
NativeMemory.Free(newPtr);
437437
}
438438
}
439439
}

0 commit comments

Comments
 (0)