diff options
Diffstat (limited to 'src/kernel/syscalls.c')
-rw-r--r-- | src/kernel/syscalls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c index aa2d45f..01d42a0 100644 --- a/src/kernel/syscalls.c +++ b/src/kernel/syscalls.c @@ -186,7 +186,8 @@ handle_t _syscall_fs_fork2(void) { if (front < 0) SYSCALL_RETURN(-1); process_current->handles[front] = handle_init(HANDLE_FS_FRONT); - backend = kmalloc(sizeof *backend); // TODO never freed + backend = kmalloc(sizeof *backend); + backend->heap = true; backend->is_user = true; backend->potential_handlers = 1; backend->refcount = 2; // child + handle |