summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spnsext01
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/spnsext01')
-rw-r--r--testsuites/sptests/spnsext01/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuites/sptests/spnsext01/init.c b/testsuites/sptests/spnsext01/init.c
index 788ba0b187..b445679fb9 100644
--- a/testsuites/sptests/spnsext01/init.c
+++ b/testsuites/sptests/spnsext01/init.c
@@ -65,6 +65,7 @@ static rtems_task Init(rtems_task_argument argument)
uptime = new_uptime;
}
rtems_interrupt_lock_release(&lock, &lock_context);
+ rtems_interrupt_lock_destroy(&lock);
puts("*** END OF TEST NANO SECONDS EXTENSION 1 ***");