Skip to contentSkip to conversation

pcm: Fix memory leak at snd_pcm_new when THREAD_SAVE_API is defined

DISCUSSION GitHub pull_request - opened 1 participant 1 message Apr 27, 2020 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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()

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