pcm: Fix memory leak at snd_pcm_new when THREAD_SAVE_API is defined
A message that is not in the archive (sent off-list or not yet received): [email protected]
alsa-project/alsa-lib pull request #42 was opened from chunxuxiao:
The pthread_mutexattr_t object should be destroyed by calling pthread_mutexattr_destroy(), otherwise it may cause a potential memory leak due to the different implement of pthread_mutexattr_init()
Signed-off-by chunxu.li <[email protected]>
Request URL : https://github.com/alsa-project/alsa-lib/pull/42
Patch URL : https://github.com/alsa-project/alsa-lib/pull/42.patch
Repository URL: https://github.com/alsa-project/alsa-lib