Fix memory leak in psa_destroy_key
diff --git a/library/psa_crypto.c b/library/psa_crypto.c
index cc631d9..c4e6be1 100644
--- a/library/psa_crypto.c
+++ b/library/psa_crypto.c
@@ -385,6 +385,7 @@
         slot->type == PSA_KEY_TYPE_RSA_KEYPAIR )
     {
         mbedtls_rsa_free( slot->data.rsa );
+        mbedtls_free( slot->data.rsa );
     }
     else
 #endif /* defined(MBEDTLS_RSA_C) */
@@ -392,6 +393,7 @@
     if( PSA_KEY_TYPE_IS_ECC( slot->type ) )
     {
         mbedtls_ecp_keypair_free( slot->data.ecp );
+        mbedtls_free( slot->data.ecp );
     }
     else
 #endif /* defined(MBEDTLS_ECP_C) */