]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: route: Correctly close slave pcm when no matching chmap is found
authorDavid Henningsson <david.henningsson@canonical.com>
Tue, 27 May 2014 07:51:21 +0000 (09:51 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 27 May 2014 09:21:52 +0000 (11:21 +0200)
commit84f8b976c052254a3e80bcf0eb0f198a480b2988
treef1f65169f1ba2826f83f50c5a0bb6455d33443da
parent80a43f23dbca7a440cc95f73feecf20516eb99de
pcm: route: Correctly close slave pcm when no matching chmap is found

This patch fixes a bug where the slave pcm was not correctly closed
on some error conditions, such as not finding a matching chmap.

Reported-by: Raymond Yau <superquad.vortex2@gmail.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_route.c