diff options
Diffstat (limited to 'arch/x86_64/src/kernel')
| -rw-r--r-- | arch/x86_64/src/kernel/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/src/kernel/main.cpp b/arch/x86_64/src/kernel/main.cpp index e68f0fe..a29c947 100644 --- a/arch/x86_64/src/kernel/main.cpp +++ b/arch/x86_64/src/kernel/main.cpp @@ -39,7 +39,6 @@ namespace teachos::arch::kernel { video::vga::text::write("Kernel remapping successfull", video::vga::text::common_attributes::green_on_black); } - heap_allocator.deallocate(test, 1024); auto test9 = heap_allocator.allocate(1024); @@ -47,9 +46,10 @@ namespace teachos::arch::kernel auto test11 = heap_allocator.allocate(1024); heap_allocator.deallocate(test9, 1024); auto test12 = heap_allocator.allocate(1024); - heap_allocator.allocate(1024); // test 13 + auto test13 = heap_allocator.allocate(1024); heap_allocator.deallocate(test11, 1024); heap_allocator.deallocate(test10, 1024); + heap_allocator.deallocate(test13, 1024); heap_allocator.deallocate(test12, 1024); } |
