diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-09-19 21:43:45 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-09-19 21:43:45 +0000 |
commit | d434b8d68677389e18e8b674a627a0d29ac4cc51 (patch) | |
tree | bf9505dbc01970a378eda0416a964b316deca019 /c/src/exec/score/src/thread.c | |
parent | Modifications from Tony Bennett accepted to return aligned block. (diff) | |
download | rtems-d434b8d68677389e18e8b674a627a0d29ac4cc51.tar.bz2 |
Modifications from Tony Bennett accepted to return aligned block.
Thread_Close fixed to avoid returning FP context area when one was not
allocated at initialization time.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/score/src/thread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/c/src/exec/score/src/thread.c b/c/src/exec/score/src/thread.c index 3f58c8ef12..a380d76c44 100644 --- a/c/src/exec/score/src/thread.c +++ b/c/src/exec/score/src/thread.c @@ -464,6 +464,7 @@ void _Thread_Close( #endif the_thread->fp_context = NULL; + if ( the_thread->Start.fp_context ) (void) _Workspace_Free( the_thread->Start.fp_context ); if ( the_thread->Start.stack ) |