diff options
author | Marvin Borner | 2020-08-26 18:01:03 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-26 18:01:03 +0200 |
commit | 3f1668290da19734dcbfed633b6f415d1fa21a1a (patch) | |
tree | 85fa32e14c0db07f98b872f6ba9bf9ac6b4de9ca /kernel/features | |
parent | ae31470ce5d666981ab1fe50cb2b4b38ca4b113f (diff) |
Started stack allocator.
This will replace the current linear allocator so we can free and
realloc memory correctly. This is especially important for the window
resizing due to a fixed LFB size.
Diffstat (limited to 'kernel/features')
-rw-r--r-- | kernel/features/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/features/syscall.c b/kernel/features/syscall.c index fbbb68b..5915d9d 100644 --- a/kernel/features/syscall.c +++ b/kernel/features/syscall.c @@ -33,7 +33,7 @@ void syscall_handler(struct regs *r) } case SYS_FREE: { printf("free\n"); - free(r->ebx); + free((void *)r->ebx); break; } case SYS_READ: { |