mirror of https://github.com/ARMmbed/mbed-os.git
TF-M patch: Fix service handles not cleared issue (TF-M issue #230)
- Link to bug tracking: https://developer.trustedfirmware.org/T230 (cherry picked from commitpull/10829/head0c23e86989
) (cherry picked from commit9c1e080e39
)
parent
795e6418d0
commit
35938a4071
|
@ -112,6 +112,8 @@ int32_t tfm_spm_free_conn_handle(struct tfm_spm_service_t *service,
|
|||
/* Remove node from handle list */
|
||||
tfm_list_del_node(&node->list);
|
||||
|
||||
node->rhandle = NULL;
|
||||
|
||||
/* Back handle buffer to pool */
|
||||
tfm_pool_free(node);
|
||||
return IPC_SUCCESS;
|
||||
|
|
Loading…
Reference in New Issue