commit | b40997b872cdb70140f127af6069f00a86b6cf81 | [log] [tgz] |
---|---|---|
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | Wed Sep 14 16:21:20 2011 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Sep 14 18:09:37 2011 -0700 |
tree | 1d7494187281b7e004fd75910a45f598cdd6d7dd | |
parent | e5f0bdc7840bdb791247cb98dfc1dab6ea6c7da4 [diff] |
um: drivers/xterm.c: fix a file descriptor leak I could use out_close1, but that seems to be the code path to close the fd returned by os_create_unix_socket, and using it to close the fd returned by mkstemp might lead to some confusion, so I don't do it. Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>