libtpmtss: TCTI finalization call changed
This commit is contained in:
@@ -276,7 +276,8 @@ static void finalize_context(private_tpm_tss_tss2_t *this)
|
|||||||
{
|
{
|
||||||
if (this->tcti_context)
|
if (this->tcti_context)
|
||||||
{
|
{
|
||||||
TeardownSocketTcti(this->tcti_context);
|
tss2_tcti_finalize(this->tcti_context);
|
||||||
|
free(this->tcti_context);
|
||||||
}
|
}
|
||||||
if (this->sys_context)
|
if (this->sys_context)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user