[PATCH 05/13] kexec: i386: multiboot: fix possible memory leak in multiboot_x86_load
Simon Horman
horms at verge.net.au
Wed Mar 27 08:38:04 EDT 2013
On Mon, Mar 25, 2013 at 11:10:35PM +0800, Zhang Yanfei wrote:
> From: Zhang Yanfei <zhangyanfei at cn.fujitsu.com>
>
> In multiboot_x86_load, allocated memory may not be free'd if the code
> exits abnormally, by calling return. So the patch fixes the possible
> memory leak.
>
> Besides, remove some extra blank lines.
>
> Signed-off-by: Zhang Yanfei <zhangyanfei at cn.fujitsu.com>
Thanks, applied.
More information about the kexec
mailing list