Skip to content
Snippets Groups Projects
Commit d2f1ac95 authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Fixed small resource leak on daemon quit.

parent c723b17d
No related branches found
No related tags found
No related merge requests found
......@@ -435,6 +435,7 @@ void dt_delete(dt_unit_t **unit)
// Deinit mutexes
pthread_mutex_destroy(&d_unit->_notify_mx);
pthread_mutex_destroy(&d_unit->_report_mx);
pthread_mutex_destroy(&d_unit->_mx);
// Deinit conditions
pthread_cond_destroy(&d_unit->_notify);
......
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