File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
components/TARGET_PSA/TARGET_TFM/COMPONENT_SPE/secure_fw/core/ipc Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -256,9 +256,6 @@ void tfm_svcall_psa_close(uint32_t *args, int32_t ns_caller)
256
256
* and scheduler triggered
257
257
*/
258
258
tfm_spm_send_event (service , msg );
259
-
260
- /* Service handle is not used anymore */
261
- tfm_spm_free_conn_handle (service , handle );
262
259
}
263
260
264
261
/*********************** SVC handler for PSA Service APIs ********************/
@@ -788,6 +785,9 @@ static void tfm_svcall_psa_reply(uint32_t *args)
788
785
update_caller_outvec_len (msg );
789
786
break ;
790
787
case PSA_IPC_DISCONNECT :
788
+ /* Service handle is not used anymore */
789
+ tfm_spm_free_conn_handle (service , msg -> handle );
790
+
791
791
/*
792
792
* If the message type is PSA_IPC_DISCONNECT, then the status code is
793
793
* ignored
You can’t perform that action at this time.
0 commit comments