libtpmtss: TCTI finalization call changed

This commit is contained in:
Andreas Steffen committed 2016-08-25 13:22:51 +02:00
1 parent 36bf2b1bc5
commit d125941802
1 file changed
+2 -1
+2 -1
View File
@@ -276,7 +276,8 @@ static void finalize_context(private_tpm_tss_tss2_t *this)
{
if (this->tcti_context)
{
TeardownSocketTcti(this->tcti_context);
tss2_tcti_finalize(this->tcti_context);
free(this->tcti_context);
}
if (this->sys_context)
{