summaryrefslogtreecommitdiff
path: root/src/kernel/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/main.c')
-rw-r--r--src/kernel/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kernel/main.c b/src/kernel/main.c
index a0fdd07..14514cb 100644
--- a/src/kernel/main.c
+++ b/src/kernel/main.c
@@ -28,5 +28,10 @@ void shutdown(void) {
kprintf("state 0x%x: 0x%x\n", i, states[i]);
mem_debugprint();
+
+ // TODO generalize to process_cleanup
+ process_free(process_first);
+
+ mem_debugprint();
cpu_shutdown();
}