From 2810d369f9d5c1fa7cdfd0175328d272618e3fd5 Mon Sep 17 00:00:00 2001 From: Moran Peker Date: Mon, 25 Feb 2019 12:47:29 +0200 Subject: [PATCH] Remove incorrect free place --- .../attestation/COMPONENT_SPE/psa_attestation_partition.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/TARGET_PSA/services/attestation/COMPONENT_SPE/psa_attestation_partition.c b/components/TARGET_PSA/services/attestation/COMPONENT_SPE/psa_attestation_partition.c index a550983814..1633637f58 100755 --- a/components/TARGET_PSA/services/attestation/COMPONENT_SPE/psa_attestation_partition.c +++ b/components/TARGET_PSA/services/attestation/COMPONENT_SPE/psa_attestation_partition.c @@ -235,10 +235,6 @@ static void psa_attest_inject_key(void) } } - free(public_key_data); - if (key_data != NULL) { - free(key_data); - } psa_reply(msg.handle, status); }