d9ec7343ad6d7933015c40b0acf378a2d2418 parent eceea0b3df05ed262ae32e0c6340cc7a3626632d author WANG Cong 1210049135 +0800 committer Al Viro 1210972978 -0400 [Patch] fs/binfmt_elf.c: fix a wrong free In kmalloc failing path, we shouldn't free pointers in 'info', because the struct 'info' is uninitilized when kmalloc is called. And when kmalloc returns NULL, it's needless to kfree it. Signed-off-by: WANG Cong Cc: Alexander Viro Reviewed-by: Pekka Enberg -- Signed-off-by: Al Viro k‰Õ¦ž