diff options
Diffstat (limited to 'src/kernel/syscall.C')
-rw-r--r-- | src/kernel/syscall.C | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kernel/syscall.C b/src/kernel/syscall.C index 6faf47681..622c970a7 100644 --- a/src/kernel/syscall.C +++ b/src/kernel/syscall.C @@ -165,7 +165,12 @@ namespace Systemcalls // TODO: Deal with join. // Clean up task memory. + // Delete FP context. + if (t->fp_context) + delete t->fp_context; + // Delete stack. StackSegment::deleteStack(t->tid); + // Delete task struct. delete t; } |