TF-M patch: Fix service handles not cleared issue (TF-M issue #230)

- Link to bug tracking: https://developer.trustedfirmware.org/T230
pull/9653/head
Michael Schwarcz 2019-02-07 12:10:03 +02:00
parent 5f2e4b3911
commit 0c23e86989
1 changed files with 2 additions and 0 deletions

View File

@ -108,6 +108,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;