[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:



Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

More information about the Alsa-devel mailing list