]> git.alsa-project.org Git - alsa-lib.git/commit
PCM: Fix memory leak for pcm empty and asym plugins
authorJaroslav Kysela <perex@perex.cz>
Tue, 30 Oct 2012 10:43:07 +0000 (11:43 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 30 Oct 2012 10:43:07 +0000 (11:43 +0100)
commitedcd677bf2065c560ef578940bab8f0aacddf0e6
tree5da97725d7a7bfd42c11adb77bf8f41d681247a3
parent2b49df0c554cb9c7fc717dcf82d1b8f5310eef62
PCM: Fix memory leak for pcm empty and asym plugins

The init-only plugins do not have own pcm handle, so free the references
to open function immediately after open.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm.c