diff --git a/sys/thread.c b/sys/thread.c index c765d3d..5143e08 100644 --- a/sys/thread.c +++ b/sys/thread.c @@ -193,6 +193,8 @@ void process_free(struct process *proc) { mm_space_free(proc); } + kfree(thr->data.fxsave); + // Free thread itself memset(thr, 0, sizeof(struct thread)); kfree(thr);