[alsa-devel] fix memory leak in snd_pcm_set_chmap

GitHub pull_request - opened github at alsa-project.org
Sun Sep 15 21:44:11 CEST 2019


alsa-project/alsa-lib pull request #10 was opened from conradjones:

asan detects this as a memory leak. 

snd_pcm_get_chmap clearly states that the caller is required to free the returned value, i cannot see it stored anywhere so cannot see how it could be freed.

Request URL   : https://github.com/alsa-project/alsa-lib/pull/10
Patch URL     : https://github.com/alsa-project/alsa-lib/pull/10.patch
Repository URL: https://github.com/alsa-project/alsa-lib


More information about the Alsa-devel mailing list