diff --git a/kernel/src/proc/process.c b/kernel/src/proc/process.c index 0ab583b..04403ee 100644 --- a/kernel/src/proc/process.c +++ b/kernel/src/proc/process.c @@ -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);