From 28779c70ffebbb2006eb7df01d64180859bb324e Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 7 Mar 2014 12:53:41 +0100 Subject: score: Add function to destroy SMP locks --- cpukit/libcsupport/src/termios.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cpukit/libcsupport/src/termios.c') diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c index 6c88de6260..4022e7c516 100644 --- a/cpukit/libcsupport/src/termios.c +++ b/cpukit/libcsupport/src/termios.c @@ -445,6 +445,7 @@ rtems_termios_close (void *arg) if ((tty->device.pollRead == NULL) || (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)) rtems_semaphore_delete (tty->rawInBuf.Semaphore); + rtems_interrupt_lock_destroy (&tty->interrupt_lock); free (tty->rawInBuf.theBuf); free (tty->rawOutBuf.theBuf); free (tty->cbuf); -- cgit v1.2.3