Skip to content

Commit 2918f74

Browse files
author
itayzafrir
committed
Free dynamic memory in test partition
1 parent 4764b55 commit 2918f74

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

TESTS/psa/crypto_access_control/COMPONENT_SPE/test_partition.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ static psa_status_t crypto_import_key(psa_msg_t *msg)
168168
read_input_param_from_message(msg, 3, key_data);
169169

170170
status = psa_import_key(key_handle, key_type, key_data, key_data_size);
171+
free(key_data);
172+
171173
return (status);
172174
}
173175

0 commit comments

Comments
 (0)