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 commit 0c23e86989)
(cherry picked from commit 9c1e080e39)
pull/10829/head
Michael Schwarcz 2019-02-07 12:10:03 +02:00 committed by Devaraj Ranganna
parent 795e6418d0
commit 35938a4071
1 changed files with 2 additions and 0 deletions

View File

@ -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;