On Mon, Mar 25, 2013 at 11:11:29PM +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> > --- > kexec/arch/i386/kexec-multiboot-x86.c | 9 ++++++--- > 1 files changed, 6 insertions(+), 3 deletions(-) Thanks, applied.