fix leak in Windows version of pthread_mutex_free Free the lock pointer in addition to the critical section. Thanks to martinkucera74 on github.