[alsa-devel] aplay: fix memory leak when setup_chmap() fail

GitHub pull_request - opened github at alsa-project.org
Sun Jun 23 18:05:58 CEST 2019


alsa-project/alsa-utils pull request #21 was opened from chunxuxiao:

setup_chmap() will return with error number if hw_map calloc fail or
channels doesn't match with hw_params, but memory free was ignored when
error occurs.
this summit has been Reviewed-by @takaswie

Request URL   : https://github.com/alsa-project/alsa-utils/pull/21
Patch URL     : https://github.com/alsa-project/alsa-utils/pull/21.patch
Repository URL: https://github.com/alsa-project/alsa-utils


More information about the Alsa-devel mailing list