summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.vnet.ibm.com>2010-12-20 12:37:18 -0500
committerJames Morris <jmorris@namei.org>2011-01-14 10:27:46 +1100
commit40c1001792de63e0f90e977eb05393fd71f78692 (patch)
tree7172e92ccefd8f4b8ee42401901ddab5bec687b5 /fs
parent581548db3b3c0f6e25b500329eb02e3c72e7acbe (diff)
downloadlinux-40c1001792de63e0f90e977eb05393fd71f78692.tar.gz
linux-40c1001792de63e0f90e977eb05393fd71f78692.tar.bz2
linux-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 'fs')
0 files changed, 0 insertions, 0 deletions