forked from Imagelibrary/rtems
sptests/spintrcritical16: Fix NULL pointer access
This commit is contained in:
@@ -52,7 +52,10 @@ rtems_timer_service_routine test_release_from_isr(
|
||||
case_hit = true;
|
||||
(void) rtems_semaphore_release( Semaphore );
|
||||
}
|
||||
_Thread_queue_Process_timeout( Main_TCB );
|
||||
|
||||
if ( Main_TCB->Wait.queue != NULL ) {
|
||||
_Thread_queue_Process_timeout( Main_TCB );
|
||||
}
|
||||
}
|
||||
|
||||
rtems_task Init(
|
||||
|
||||
Reference in New Issue
Block a user