aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/memory
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/src/memory')
-rw-r--r--arch/x86_64/src/memory/heap/allocator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86_64/src/memory/heap/allocator.cpp b/arch/x86_64/src/memory/heap/allocator.cpp
index c9ddd78..bb61be4 100644
--- a/arch/x86_64/src/memory/heap/allocator.cpp
+++ b/arch/x86_64/src/memory/heap/allocator.cpp
@@ -17,10 +17,10 @@ namespace teachos::arch::memory::heap
return reinterpret_cast<void *>(alloc_start);
}
- auto bump_allocator::deallocate(uint8_t * pointer, std::size_t size) -> void
+ auto bump_allocator::deallocate(uint8_t * pointer) -> void
{
- // Memory leak
- if (pointer || size)
+ // Not implemented; leaking memory
+ if (pointer)
{
}
}