Skip to content

Commit 35938a4

Browse files
Michael Schwarczurutva
Michael Schwarcz
authored andcommitted
TF-M patch: Fix service handles not cleared issue (TF-M issue ARMmbed#230)
- Link to bug tracking: https://developer.trustedfirmware.org/T230 (cherry picked from commit 0c23e86) (cherry picked from commit 9c1e080)
1 parent 795e641 commit 35938a4

File tree

1 file changed

+2
-0
lines changed
  • components/TARGET_PSA/TARGET_TFM/COMPONENT_SPE/secure_fw/core/ipc

1 file changed

+2
-0
lines changed

components/TARGET_PSA/TARGET_TFM/COMPONENT_SPE/secure_fw/core/ipc/tfm_spm.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ int32_t tfm_spm_free_conn_handle(struct tfm_spm_service_t *service,
112112
/* Remove node from handle list */
113113
tfm_list_del_node(&node->list);
114114

115+
node->rhandle = NULL;
116+
115117
/* Back handle buffer to pool */
116118
tfm_pool_free(node);
117119
return IPC_SUCCESS;

0 commit comments

Comments
 (0)