mirror of
https://github.com/BoredDevNL/BoredOS.git
synced 2026-05-15 18:58:40 +00:00
FIX: remove accidentally copied code
This commit is contained in:
parent
afc4e16fcf
commit
437d57312f
1 changed files with 0 additions and 5 deletions
|
|
@ -634,11 +634,6 @@ uint64_t process_terminate_current(void) {
|
|||
|
||||
paging_switch_directory(current_process[my_cpu]->pml4_phys);
|
||||
|
||||
|
||||
kfree(to_delete->user_stack_alloc);
|
||||
to_delete->user_stack_alloc = NULL;
|
||||
}
|
||||
|
||||
free_kernel_stack_later[my_cpu] = to_delete->kernel_stack_alloc;
|
||||
to_delete->kernel_stack_alloc = NULL;
|
||||
free_pml4_later[my_cpu] = to_delete->pml4_phys;
|
||||
|
|
|
|||
Loading…
Reference in a new issue