mirror of https://github.com/PentHertz/srsLTE.git
dealloc mutex and cond in msg_queue
This commit is contained in:
parent
43811e1886
commit
5335f046ff
|
@ -56,6 +56,9 @@ public:
|
|||
|
||||
~msg_queue()
|
||||
{
|
||||
pthread_mutex_destroy(&mutex);
|
||||
pthread_cond_destroy(¬_empty);
|
||||
pthread_cond_destroy(¬_full);
|
||||
delete [] buf;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue