From 2e7738b8ebda65430f6900fa26bb87a3fece6210 Mon Sep 17 00:00:00 2001 From: Moran Peker Date: Mon, 25 Feb 2019 11:11:03 +0200 Subject: [PATCH] astyle fix --- .../attestation/COMPONENT_SPE/psa_attestation_partition.c | 6 +++--- 1 file changed, 3 insertions(+), 3 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 7b88698fa7..a550983814 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 @@ -222,7 +222,7 @@ static void psa_attest_inject_key(void) psa_write(msg.handle, 1, &public_key_data_length, sizeof(public_key_data_length)); free(public_key_data); - if(key_data!= NULL){ + if (key_data != NULL) { free(key_data); } break; @@ -234,9 +234,9 @@ static void psa_attest_inject_key(void) break; } } - + free(public_key_data); - if(key_data!= NULL){ + if (key_data != NULL) { free(key_data); } psa_reply(msg.handle, status);