fix "scripts/mod/modpost.c: fix memory leak"
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 11 Aug 2010 07:42:26 +0000 (00:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Aug 2010 15:58:59 +0000 (08:58 -0700)
commit5003bab82d56754b27be01eef24495a02e00039d
treef0b22810356657d8e1ad14a55e76a6b7873133af
parent3d30701b58970425e1d45994d6cb82f828924fdd
fix "scripts/mod/modpost.c: fix memory leak"

Fix error introduced by 37ed19d5cce35a40d3913cf9aa208ce9f60db3d7
("scripts/mod/modpost.c: fix memory leak").

 - don't kfree("")

 - fix one missed conversion

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Tested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Alexey Fomenko <ext-alexey.fomenko@nokia.com>
Cc: Trevor Keith <tsrk@tsrk.net>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/mod/modpost.c