Skip to content
Commit 2a7a06a0 authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Linus Torvalds
Browse files

rtc-core: fix memory leak



The idr should be destroyed when the module is unloaded. Found with
kmemleak.

Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@nokia.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: stable <stable@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 2e84067b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment