Re: [PATCH] ALSA: pcm: Properly close timer when freeing slaves

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux