Skip to content

Commit 55bc5b1

Browse files
committed
fix inaccessible -> unaccessible typo
1 parent ce7ee13 commit 55bc5b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/base_alloc/base_alloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static void ba_divide_memory_into_chunks(umf_ba_pool_t *pool, void *ptr,
128128
current_chunk->next = NULL;
129129
pool->metadata.free_list = ptr; // address of the first chunk
130130

131-
// mark the memory as unaccessible again
131+
// mark the memory as inaccessible again
132132
utils_annotate_memory_inaccessible(ptr, size);
133133
}
134134

src/pool/pool_jemalloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static void *arena_extent_alloc(extent_hooks_t *extent_hooks, void *new_addr,
128128

129129
#ifndef __SANITIZE_ADDRESS__
130130
// jemalloc might write to new extents in realloc, so we cannot
131-
// mark them as unaccessible under asan
131+
// mark them as inaccessible under asan
132132
utils_annotate_memory_inaccessible(ptr, size);
133133
#endif
134134

0 commit comments

Comments
 (0)