summaryrefslogtreecommitdiff
path: root/drivers/char/hpet.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-12-23 05:18:25 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2007-12-23 07:09:05 (GMT)
commitd172f4ef31bec924c6ebcb242c9d7d290811e1e5 (patch)
tree2c694919af4a14170a77b8c704151eb8a65851f0 /drivers/char/hpet.c
parente5f114e97d6e4833e90ca408af9eb1e7a3262b5e (diff)
downloadlinux-d172f4ef31bec924c6ebcb242c9d7d290811e1e5.tar.xz
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 <adobriyan@gmail.com> Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/hpet.c')
0 files changed, 0 insertions, 0 deletions