diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-03-27 09:44:52 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-03-31 10:58:59 -0500 |
commit | 060d77b9c04acd7aef60790398a53f731db8c8fe (patch) | |
tree | c774bb62e0b8ee4b210c5ad4c2d706a346a23efc /include/sound | |
parent | 3bf75f9b90c981f18f27a0d35a44f488ab68c8ea (diff) |
[ALSA] Fix / clean up PCM-OSS setup hooks
- Fix possible race of referring the setup hook from the running PCM
- Fix memory leak in an error path of proc write
- Clean up the setup hook parser
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/pcm_oss.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/pcm_oss.h b/include/sound/pcm_oss.h index 1d522aaa66df..39df2baca18a 100644 --- a/include/sound/pcm_oss.h +++ b/include/sound/pcm_oss.h | |||
@@ -69,7 +69,7 @@ struct snd_pcm_oss_file { | |||
69 | 69 | ||
70 | struct snd_pcm_oss_substream { | 70 | struct snd_pcm_oss_substream { |
71 | unsigned oss: 1; /* oss mode */ | 71 | unsigned oss: 1; /* oss mode */ |
72 | struct snd_pcm_oss_setup *setup; /* active setup */ | 72 | struct snd_pcm_oss_setup setup; /* active setup */ |
73 | }; | 73 | }; |
74 | 74 | ||
75 | struct snd_pcm_oss_stream { | 75 | struct snd_pcm_oss_stream { |