diff options
author | Jesper Juhl <jesper.juhl@gmail.com> | 2007-07-20 00:31:48 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-20 08:44:20 -0700 |
commit | 178554ae75739e91dc4d7c3e42a3db95448cc5bf (patch) | |
tree | 12c9ec848b2c6b463c4f12801e802ee75ff31311 /scripts | |
parent | 22982a5687d8abf7bafe6d307585464f47089f18 (diff) | |
download | linux-178554ae75739e91dc4d7c3e42a3db95448cc5bf.tar.gz linux-178554ae75739e91dc4d7c3e42a3db95448cc5bf.tar.bz2 linux-178554ae75739e91dc4d7c3e42a3db95448cc5bf.zip |
Memory leak in tpm_ascii_bios_measurements_open()
Coverity found a memory leak in tpm_ascii_bios_measurements_open().
If "read_log(log)" fails, then we may leak 'log' and
'log->bios_event_log'.
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Cc: Seiji Munetoh <munetoh@jp.ibm.com>
Cc: Stefan Berger <stefanb@us.ibm.com>
Cc: Reiner Sailer <sailer@watson.ibm.com>
Cc: Kylene Hall <kjhall@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions