Skip to content

Commit 0d40f15

Browse files
unmap the page after test
1 parent f2aa291 commit 0d40f15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libc/test/src/__support/threads/linux/raw_mutex_test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,5 @@ TEST(LlvmLibcSupportThreadsRawMutexTest, PSharedLock) {
6666
while (shared->finished.load() != 2)
6767
LIBC_NAMESPACE::sleep_briefly();
6868
ASSERT_EQ(shared->data, 20000);
69+
LIBC_NAMESPACE::munmap(addr, sizeof(SharedData));
6970
}

0 commit comments

Comments
 (0)