]> err.no Git - linux-2.6/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)
commit59e89f3a091d5cf93f4b176aedcfded61ece5252
tree927003d6297eb724ff220fb416aa357c25854221
parentb9251b823b5e921c894eb135cb6c64abf483f50e
[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