diff options
Diffstat (limited to 'drivers/tty/synclink.c')
-rw-r--r-- | drivers/tty/synclink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/synclink.c b/drivers/tty/synclink.c index 70e3a525bc82..e4b5c39fc4ec 100644 --- a/drivers/tty/synclink.c +++ b/drivers/tty/synclink.c | |||
@@ -4425,6 +4425,7 @@ static void synclink_cleanup(void) | |||
4425 | mgsl_release_resources(info); | 4425 | mgsl_release_resources(info); |
4426 | tmp = info; | 4426 | tmp = info; |
4427 | info = info->next_device; | 4427 | info = info->next_device; |
4428 | tty_port_destroy(&tmp->port); | ||
4428 | kfree(tmp); | 4429 | kfree(tmp); |
4429 | } | 4430 | } |
4430 | 4431 | ||