fix (proc): destructing process executable, when process is killed
This commit is contained in:
parent
1e38299857
commit
e5e988ccf7
|
@ -66,6 +66,7 @@ void process_kill_pid(pid_t pid) {
|
|||
void process_kill(process_T* process) {
|
||||
scheduler_kill_process(process);
|
||||
|
||||
elf_executable_destruct(process->executable);
|
||||
page_map_destruct(process->page_map);
|
||||
|
||||
memory_free(process);
|
||||
|
|
Loading…
Reference in New Issue