uml: free resources
commit2a6d0ac182688d4d23357ece744978706c044aad
authorDavidlohr Bueso <dave@gnu.org>
Tue, 26 Jul 2011 00:12:52 +0000 (25 17:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 03:57:13 +0000 (25 20:57 -0700)
tree6a8daa134fe8af112b0d234b4ca417a16e59d5e5
parent9a8beb93067764344523386e0e5388d3fd78add7
uml: free resources

When creating the temp file there's a memory and file descriptor leak upon
error.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
Reviewed-by: Vitaliy Ivanov <vitalivanov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/os-Linux/mem.c