Patch looks good to me. Will push to the main repo as soon as I finish the tests.
Em 24-10-2013 14:54, Joel Schopp escreveu: > Looks good to me, added to the commit queue. > > On 10/24/2013 04:14 AM, Ceri Coburn wrote: >> Signed-off-by: Ceri Coburn <[email protected]> >> --- >> src/tspi/tspi_aik.c | 5 ++++- >> 1 file changed, 4 insertions(+), 1 deletion(-) >> >> diff --git a/src/tspi/tspi_aik.c b/src/tspi/tspi_aik.c >> index 54dd729..3d041b9 100644 >> --- a/src/tspi/tspi_aik.c >> +++ b/src/tspi/tspi_aik.c >> @@ -182,8 +182,10 @@ Tspi_TPM_CollateIdentityRequest(TSS_HTPM hTPM, >> /* in */ >> return result; >> >> if ((result = authsess_xsap_init(tspContext, hTPM, hIdentityKey, >> TSS_AUTH_POLICY_REQUIRED, >> - TPM_ORD_MakeIdentity, TPM_ET_OWNER, >> &xsap))) >> + TPM_ORD_MakeIdentity, TPM_ET_OWNER, >> &xsap))){ >> + free(asymParms.parms); >> return result; >> + } >> >> /* Hash the Auth data */ >> result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1); >> @@ -392,6 +394,7 @@ Tspi_TPM_CollateIdentityRequest(TSS_HTPM hTPM, >> /* in */ >> error: >> authsess_free(xsap); >> free_key_refs(&caKey); >> + free(asymParms.parms); >> free(prgbIdentityBinding); >> free(prgbEndorsementCredential); >> free(prgbPlatformCredential); >> > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk > _______________________________________________ > TrouSerS-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/trousers-tech > ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ TrouSerS-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-tech
