pcm: Fix memory leak at snd_pcm_new when THREAD_SAVE_API is defined

27 Apr
2020
27 Apr
'20
4:39 p.m.
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 chunxuxiao@gmail.com
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
1827
Age (days ago)
1827
Last active (days ago)
0 comments
1 participants
participants (1)
-
GitHub pull_request - opened