aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/kernel
diff options
context:
space:
mode:
authorMatteo Gmür <matteo.gmuer1@ost.ch>2025-02-23 10:27:46 +0000
committerMatteo Gmür <matteo.gmuer1@ost.ch>2025-02-23 10:27:46 +0000
commitfcc586a846562e024c1cd77042634494cf380bd8 (patch)
treedf1ae9805ce83ecaefae0cdd52f9c79637a35a7b /arch/x86_64/src/kernel
parent93cc8aa1c0e4ba991f0503c609702e1c63a240c7 (diff)
downloadteachos-fcc586a846562e024c1cd77042634494cf380bd8.tar.xz
teachos-fcc586a846562e024c1cd77042634494cf380bd8.zip
Adjust linked list allocator to allow for deallocation without passing size parameter and with arbitrary size
Diffstat (limited to 'arch/x86_64/src/kernel')
-rw-r--r--arch/x86_64/src/kernel/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86_64/src/kernel/main.cpp b/arch/x86_64/src/kernel/main.cpp
index f3518a8..472aed5 100644
--- a/arch/x86_64/src/kernel/main.cpp
+++ b/arch/x86_64/src/kernel/main.cpp
@@ -39,6 +39,9 @@ namespace teachos::arch::kernel
test2->multiboot_start = 2000;
delete test2;
delete test3;
+
+ auto test9 = new int(50);
+ delete test9;
}
auto main() -> void