pcm: Close event timer in pcm_hw plugin
authorJaroslav Kysela <perex@perex.cz>
Mon, 21 Dec 2009 08:09:42 +0000 (09:09 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 21 Dec 2009 08:09:42 +0000 (09:09 +0100)
commita256766c10c52cb6667de8a65f5cbb332fad4cc7
tree4d3352a106a8f65fb042ac3cf0b81c8a353123b0
parent8a4127b54910ea0b0ac9a372c143f4fc5c955b67
pcm: Close event timer in pcm_hw plugin

Dan McCombs discovered that snd_pcm_close() invocations are not leading
to associated timers being closed, which results in successively more
timers being created but not freed.

Original patch from Daniel T Chen <crimsun@ubuntu.com>.

BugLink: https://bugs.launchpad.net/bugs/451893

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