From d434b8d68677389e18e8b674a627a0d29ac4cc51 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 19 Sep 1995 21:43:45 +0000 Subject: 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. --- cpukit/score/src/thread.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cpukit/score/src/thread.c') diff --git a/cpukit/score/src/thread.c b/cpukit/score/src/thread.c index 3f58c8ef12..a380d76c44 100644 --- a/cpukit/score/src/thread.c +++ b/cpukit/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 ) -- cgit v1.2.3