summaryrefslogtreecommitdiff
path: root/virt/kvm
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.vnet.ibm.com>2010-12-20 17:37:18 (GMT)
committerJames Morris <jmorris@namei.org>2011-01-13 23:27:46 (GMT)
commit40c1001792de63e0f90e977eb05393fd71f78692 (patch)
tree7172e92ccefd8f4b8ee42401901ddab5bec687b5 /virt/kvm
parent581548db3b3c0f6e25b500329eb02e3c72e7acbe (diff)
downloadlinux-40c1001792de63e0f90e977eb05393fd71f78692.tar.xz
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 'virt/kvm')
0 files changed, 0 insertions, 0 deletions