[PATCH 07/13] kexec: ppc: elf: fix possible memory leak in elf_ppc_load

Simon Horman horms at verge.net.au
Wed Mar 27 08:40:17 EDT 2013


On Mon, Mar 25, 2013 at 11:12:51PM +0800, Zhang Yanfei wrote:
> From: Zhang Yanfei <zhangyanfei at cn.fujitsu.com>
> 
> In elf_ppc_load, allocated memory may not be free'd if the code
> exits abnormally, by calling die() or return. So the patch fixes
> the possible memory leak.
> 
> This patch is also a preparation for patch08.
> 
> Signed-off-by: Zhang Yanfei <zhangyanfei at cn.fujitsu.com>

Thanks, applied.



More information about the kexec mailing list