diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/dgnc/dgnc_tty.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c index 5c5c4b774256..fbfe79a70263 100644 --- a/drivers/staging/dgnc/dgnc_tty.c +++ b/drivers/staging/dgnc/dgnc_tty.c | |||
@@ -422,8 +422,12 @@ void dgnc_tty_uninit(struct dgnc_board *brd) | |||
422 | 422 | ||
423 | kfree(brd->SerialDriver.ttys); | 423 | kfree(brd->SerialDriver.ttys); |
424 | brd->SerialDriver.ttys = NULL; | 424 | brd->SerialDriver.ttys = NULL; |
425 | kfree(brd->SerialDriver.termios); | ||
426 | brd->SerialDriver.termios = NULL; | ||
425 | kfree(brd->PrintDriver.ttys); | 427 | kfree(brd->PrintDriver.ttys); |
426 | brd->PrintDriver.ttys = NULL; | 428 | brd->PrintDriver.ttys = NULL; |
429 | kfree(brd->PrintDriver.termios); | ||
430 | brd->PrintDriver.termios = NULL; | ||
427 | } | 431 | } |
428 | 432 | ||
429 | /*======================================================================= | 433 | /*======================================================================= |