dealloc mutex and cond in msg_queue

master
Andre Puschmann 7 years ago
parent 43811e1886
commit 5335f046ff

@ -56,6 +56,9 @@ public:
~msg_queue() ~msg_queue()
{ {
pthread_mutex_destroy(&mutex);
pthread_cond_destroy(&not_empty);
pthread_cond_destroy(&not_full);
delete [] buf; delete [] buf;
} }

Loading…
Cancel
Save