diff options
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2010-12-20 12:37:18 -0500 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-01-14 10:27:46 +1100 |
commit | 40c1001792de63e0f90e977eb05393fd71f78692 (patch) | |
tree | 7172e92ccefd8f4b8ee42401901ddab5bec687b5 /drivers | |
parent | 581548db3b3c0f6e25b500329eb02e3c72e7acbe (diff) | |
download | linux-stable-40c1001792de63e0f90e977eb05393fd71f78692.tar.gz linux-stable-40c1001792de63e0f90e977eb05393fd71f78692.tar.bz2 linux-stable-40c1001792de63e0f90e977eb05393fd71f78692.zip |
trusted-keys: free memory bugfix
Add missing kfree(td) in tpm_seal() before the return, freeing
td on error paths as well.
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Acked-by: David Safford <safford@watson.ibm.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions