[PATCH 11/13] kexec: x86_64: bzImage64: fix memory leak caused by get_command_line

Simon Horman horms at verge.net.au
Wed Mar 27 08:41:56 EDT 2013


On Mon, Mar 25, 2013 at 11:16:34PM +0800, Zhang Yanfei wrote:
> From: Zhang Yanfei <zhangyanfei at cn.fujitsu.com>
> 
> Since get_command_line returns dynamically allocated memory, it is
> easy for the caller to forget freeing the memory. Here fixes a
> memory leak caused by this function.
> 
> Signed-off-by: Zhang Yanfei <zhangyanfei at cn.fujitsu.com>

Thanks, applied.



More information about the kexec mailing list