Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Commit

Permalink
Fix memory leak in PKCS #11 test. (#2889)
Browse files Browse the repository at this point in the history
* Fix memory leak in PKCS #11 test.
  • Loading branch information
lundinc2 authored Dec 17, 2020
1 parent 88bd21f commit 7ac4f45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/abstractions/pkcs11/test/iot_test_pkcs11.c
Original file line number Diff line number Diff line change
Expand Up @@ -1871,6 +1871,7 @@ TEST( Full_PKCS11_EC, AFQP_Sign )
mbedtls_mpi_free( &xS );
}

vPortFree( pxPublicKey );
mbedtls_pk_free( &xEcdsaContext );
}

Expand Down

0 comments on commit 7ac4f45

Please sign in to comment.