diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2025-02-23 10:27:46 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2025-02-23 10:27:46 +0000 |
| commit | fcc586a846562e024c1cd77042634494cf380bd8 (patch) | |
| tree | df1ae9805ce83ecaefae0cdd52f9c79637a35a7b /arch/x86_64/src/kernel/main.cpp | |
| parent | 93cc8aa1c0e4ba991f0503c609702e1c63a240c7 (diff) | |
| download | teachos-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/main.cpp')
| -rw-r--r-- | arch/x86_64/src/kernel/main.cpp | 3 |
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 |
