Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364251
b: refs/heads/master
c: 7990131
h: refs/heads/master
i:
  364249: b6c3d73
  364247: 4e437c0
v: v3
  • Loading branch information
Peter Hurley authored and Greg Kroah-Hartman committed Mar 18, 2013
1 parent d05bca4 commit e1a4697
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a30737ab7d99f27810b254787e5e62a6c92cb355
refs/heads/master: 79901317ce80c43a0249ccc6e3fea9d0968e159e
4 changes: 3 additions & 1 deletion trunk/drivers/tty/n_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -1596,7 +1596,9 @@ static void n_tty_close(struct tty_struct *tty)
{
struct n_tty_data *ldata = tty->disc_data;

n_tty_flush_buffer(tty);
if (tty->link)
n_tty_packet_mode_flush(tty);

kfree(ldata->read_buf);
kfree(ldata->echo_buf);
kfree(ldata);
Expand Down

0 comments on commit e1a4697

Please sign in to comment.