Skip to content
Snippets Groups Projects
Commit 6bad77cb authored by Aleksei Voronin's avatar Aleksei Voronin
Browse files

[*] fixed an error when data from deleted event socket was used again (valgrind)

parent 2e21e657
No related branches found
No related tags found
1 merge request!124Bugs 4178
......@@ -324,7 +324,7 @@ void dap_events_socket_delete( dap_events_socket_t *a_es, bool preserve_inherito
#endif
}
pthread_mutex_destroy(&a_es->write_hold);
free( a_es );
DAP_DELETE( a_es );
}
/**
......
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