summaryrefslogtreecommitdiff
path: root/scripts/package
diff options
context:
space:
mode:
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>2006-10-20 06:28:24 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-20 17:26:36 (GMT)
commitd9d645f06a8f50659bbae2be64ed8367ba068fc0 (patch)
treea514ffe62493538e0e5725685380b961e6ca4483 /scripts/package
parentb2670eacfb013169b8bf151a5078a9ef8ef86466 (diff)
downloadlinux-d9d645f06a8f50659bbae2be64ed8367ba068fc0.tar.xz
[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>
Diffstat (limited to 'scripts/package')
0 files changed, 0 insertions, 0 deletions