aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorWANG Cong <[email protected]>2008-05-06 12:45:35 +0800
committerAl Viro <[email protected]>2008-05-16 17:22:58 -0400
commit5f719558edf9c84bfbb1f7ad37e84c483282d09f (patch)
treeacbd9ec7343ad6d7933015c40b0acf378a2d2418 /drivers/mtd/lpddr/lpddr_cmds.c
parenteceea0b3df05ed262ae32e0c6340cc7a3626632d (diff)
[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 <[email protected]> Cc: Alexander Viro <[email protected]> Reviewed-by: Pekka Enberg <[email protected]> -- Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions