From: Greg Kroah-Hartman Date: Sun, 23 Dec 2007 05:18:25 +0000 (-0800) Subject: Modules: fix memory leak of module names X-Git-Tag: v2.6.24-rc7~38^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d172f4ef31bec924c6ebcb242c9d7d290811e1e5;p=pandora-kernel.git Modules: fix memory leak of module names Due to the change in kobject name handling, the module kobject needs to have a null release function to ensure that the name it previously set will be properly cleaned up. All of this wierdness goes away in 2.6.25 with the rework of the kobject name and cleanup logic, but this is required for 2.6.24. Thanks to Alexey Dobriyan for finding the problem, and to Kay Sievers for pointing out the simple way to fix it after I tried many complex ways. Cc: Alexey Dobriyan Cc: Kay Sievers Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed