danmar/cppcheck — pull request #107 by adityanaidu (2012-08-18 17:10:52+00:00)
Title: Check mutex is unlocked before returning from method

I added a check (checkmutex.cpp/h). It makes sure that if a mutex is locked in a method, it gets unlocked before control returns from that method.

Currently it does this by checking for pthread mutex methods, pthread_mutex_lock() and pthread_mutex_unlock()