Memory leak in PThreadMutex.c++
In the PThreadMutex.c++ there's a memory leak which can
easily be fixed.
The Mutex constructor doesn't destroy mutexattr.
The fix is:
At the end of the constructor invoke:
I have tested this. It solves the memory leak.
Log in to post a comment.