Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325628
b: refs/heads/master
c: dc6802a
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Aug 10, 2012
1 parent 05845ce commit 617ef61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4ac5d7050e4e4d63751e78fb152a274d05c08563
refs/heads/master: dc6802a771e91050fb686dfeeb9de4c6c9cadb79
2 changes: 2 additions & 0 deletions trunk/drivers/tty/tty_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ struct tty_struct *alloc_tty_struct(void)

void free_tty_struct(struct tty_struct *tty)
{
if (!tty)
return;
if (tty->dev)
put_device(tty->dev);
kfree(tty->write_buf);
Expand Down

0 comments on commit 617ef61

Please sign in to comment.