diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/irda/ircomm/ircomm_tty.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/irda/ircomm/ircomm_tty.c b/net/irda/ircomm/ircomm_tty.c index 496ce2cebcd7..a68c88cdec6e 100644 --- a/net/irda/ircomm/ircomm_tty.c +++ b/net/irda/ircomm/ircomm_tty.c | |||
@@ -183,6 +183,7 @@ static void __exit __ircomm_tty_cleanup(struct ircomm_tty_cb *self) | |||
183 | ircomm_tty_shutdown(self); | 183 | ircomm_tty_shutdown(self); |
184 | 184 | ||
185 | self->magic = 0; | 185 | self->magic = 0; |
186 | tty_port_destroy(&self->port); | ||
186 | kfree(self); | 187 | kfree(self); |
187 | } | 188 | } |
188 | 189 | ||