tpm2-tss
tpm2-tss copied to clipboard
TCTI: Fix leak produced in Tss2_TctiLdr_Initialize_Ex
The return code of tctildr_init_context_data was not checked in Tss2_TctiLdr_Initialize_Ex. The cleanup part of this function was not executed and so a leak was produced. Fixes #2842