diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-03-27 14:44:52 (GMT) |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-03-31 15:58:59 (GMT) |
commit | 060d77b9c04acd7aef60790398a53f731db8c8fe (patch) | |
tree | c774bb62e0b8ee4b210c5ad4c2d706a346a23efc /include/sound/pcm_oss.h | |
parent | 3bf75f9b90c981f18f27a0d35a44f488ab68c8ea (diff) | |
download | linux-060d77b9c04acd7aef60790398a53f731db8c8fe.tar.xz |
[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/pcm_oss.h')
-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 1d522aa..39df2ba 100644 --- a/include/sound/pcm_oss.h +++ b/include/sound/pcm_oss.h @@ -69,7 +69,7 @@ struct snd_pcm_oss_file { struct snd_pcm_oss_substream { unsigned oss: 1; /* oss mode */ - struct snd_pcm_oss_setup *setup; /* active setup */ + struct snd_pcm_oss_setup setup; /* active setup */ }; struct snd_pcm_oss_stream { |