fix: fix memory leaks

This commit is contained in:
2026-03-04 07:41:40 +01:00
parent eb69bdb5fb
commit 624b1e7e69
5 changed files with 44 additions and 2 deletions
+3
View File
@@ -88,4 +88,7 @@ namespace Sched {
// Get a pointer to slot i in the process table (for enumeration)
Process* GetProcessSlot(int slot);
// Per-process allocated page count (tracked by Heap syscalls, separate from Process struct)
inline uint64_t g_allocatedPages[MaxProcesses] = {};
}