[alsa-devel] [PATCH] ALSA: pcm: Properly close timer when freeing slaves
Jaroslav Kysela
perex at perex.cz
Mon Dec 21 09:13:46 CET 2009
On Sun, 20 Dec 2009, Daniel Chen wrote:
> Hi,
>
> Here's a patch originally from Dan McCombs against alsa-lib.git HEAD
> fixing a fairly nasty fd leak for timers.
Thanks for notice. The patch proposed patch does reset hw->period_event
and pcm->fast_ops variables (the application might reuse pcm handle after
hw_free call to initialize PCM handle for another parameters). My
corrected version is in ALSA GIT now:
http://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=a256766c10c52cb6667de8a65f5cbb332fad4cc7
Jaroslav
-----
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.
More information about the Alsa-devel
mailing list