original_kernel/arch/um/os-Linux
Paolo 'Blaisorblade' Giarrusso d9d645f06a [PATCH] uml: cleanup run_helper() API to fix a leak
Freeing the stack is left uselessly to the caller of run_helper in some cases
- this is taken from run_helper_thread, but here it is useless, so no caller
needs it and the only place where this happens has a potential leak - in case
of error neither run_helper() nor xterm_open() call free_stack().  At this
point passing a pointer is not needed - the stack pointer should be passed
directly, but this change is not done here.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-20 10:26:36 -07:00
..
drivers [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
include
skas
sys-i386 [PATCH] Remove the use of _syscallX macros in UML 2006-10-02 07:57:23 -07:00
sys-x86_64
Makefile
aio.c
elf_aux.c
file.c
helper.c [PATCH] uml: cleanup run_helper() API to fix a leak 2006-10-20 10:26:36 -07:00
irq.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
main.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
mem.c [PATCH] uml: close file descriptor leaks 2006-09-29 09:18:04 -07:00
process.c [PATCH] Remove the use of _syscallX macros in UML 2006-10-02 07:57:23 -07:00
sigio.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
signal.c
start_up.c
time.c [PATCH] uml: reenable compilation of enable_timer, disabled by mistake 2006-10-20 10:26:36 -07:00
tls.c [PATCH] Remove the use of _syscallX macros in UML 2006-10-02 07:57:23 -07:00
trap.c
tt.c [PATCH] uml: make TT mode compile after setjmp-related changes 2006-10-11 11:14:20 -07:00
tty.c
tty_log.c
uaccess.c
umid.c
user_syms.c
util.c [PATCH] uml: fix uname under setarch i386 2006-10-11 11:14:20 -07:00