commit | 40c1001792de63e0f90e977eb05393fd71f78692 | [log] [tgz] |
---|---|---|
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | Mon Dec 20 12:37:18 2010 -0500 |
committer | James Morris <jmorris@namei.org> | Fri Jan 14 10:27:46 2011 +1100 |
tree | 7172e92ccefd8f4b8ee42401901ddab5bec687b5 | |
parent | 581548db3b3c0f6e25b500329eb02e3c72e7acbe [diff] |
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>