hw_random: free rng_buffer at module exit
authorSatoru Takeuchi <satoru.takeuchi@gmail.com>
Wed, 20 Mar 2013 00:58:51 +0000 (11:28 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 20 Mar 2013 00:59:37 +0000 (11:29 +1030)
rng-core module allocates rng_buffer by kmalloc() since commit
f7f154f1246ccc5a0a7e9ce50932627d60a0c878. But this buffer won't be
freed and there is a memory leak possibility at module exit.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found