[PATCH] Fix error recovery path for arch_setup_additional_pages
commit18c8baff8fe151ea02e00047afc369ee31939e9b
authorRoland McGrath <roland@redhat.com>
Thu, 28 Apr 2005 22:17:19 +0000 (28 15:17 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 28 Apr 2005 22:17:19 +0000 (28 15:17 -0700)
treee71f64f2f4c33c9e343d121fcbeff7b660961382
parent5bec0039f4ac8d707d7afe7739cc2e7004447e38
[PATCH] Fix error recovery path for arch_setup_additional_pages

If arch_setup_additional_pages fails, the error path will do some double-frees.
This fixes it.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/binfmt_elf.c