Skip to content
Snippets Groups Projects
Commit ab230c67 authored by alexander.lysikov's avatar alexander.lysikov
Browse files

fixed clean stream_dap_delete()

parent a2ae05dc
No related branches found
No related tags found
1 merge request!7fixed clean stream_dap_delete()
......@@ -688,7 +688,9 @@ void stream_dap_delete(dap_client_remote_t* sh, void * arg){
(void) arg;
pthread_mutex_lock(&s_mutex_keepalive_list);
DL_DELETE(s_stream_keepalive_list, sid);
if(s_stream_keepalive_list){
DL_DELETE(s_stream_keepalive_list, sid);
}
pthread_mutex_unlock(&s_mutex_keepalive_list);
size_t i;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment