Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254172
b: refs/heads/master
c: 1dae42b
h: refs/heads/master
v: v3
  • Loading branch information
J Freyensee authored and Greg Kroah-Hartman committed Jun 7, 2011
1 parent 682d5c3 commit 88d5c8f
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: 29021bccea0dc42d7d101004058438a9a4e693b1
refs/heads/master: 1dae42bff57f7a61577ee881265985a660d35c07
4 changes: 3 additions & 1 deletion trunk/drivers/misc/pti.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,10 @@ static int pti_tty_install(struct tty_driver *driver, struct tty_struct *tty)
else
pti_tty_data->mc = pti_request_masterchannel(2);

if (pti_tty_data->mc == NULL)
if (pti_tty_data->mc == NULL) {
kfree(pti_tty_data);
return -ENXIO;
}
tty->driver_data = pti_tty_data;
}

Expand Down

0 comments on commit 88d5c8f

Please sign in to comment.