]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] tpm: fix memory leak
authorKylene Jo Hall <kjhall@us.ibm.com>
Sat, 22 Apr 2006 09:36:35 +0000 (02:36 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 22 Apr 2006 16:19:53 +0000 (09:19 -0700)
commit5847252acab845864bf2a91e1c88bdb6ce5134bc
tree927003d6297eb724ff220fb416aa357c25854221
parent92db57b6ecdbde9fff83d247d02bc213af49711d
[PATCH] tpm: fix memory leak

The eventname was kmalloc'd and not freed in the *_show functions.

This bug was found by Coverity.

Signed-off-by: Kylene Hall <kjhall@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/tpm/tpm_bios.c