commit | 2a7a06a0cdd86d572e91657603180da5992be6d3 | [log] [tgz] |
---|---|---|
author | Aaro Koskinen <aaro.koskinen@nokia.com> | Fri Mar 05 13:44:24 2010 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Mar 06 11:26:47 2010 -0800 |
tree | a28063efd5886e95171a7e983e8b63c6e2b2db73 | |
parent | 2e84067b6e557b0b85cdbceaf9a9189fc2c26536 [diff] |
rtc-core: fix memory leak The idr should be destroyed when the module is unloaded. Found with kmemleak. Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: stable <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>