summaryrefslogtreecommitdiffstats
path: root/include/sound/pcm_oss.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-03-27 16:44:52 +0200
committerJaroslav Kysela <perex@suse.cz>2006-03-31 17:58:59 +0200
commit060d77b9c04acd7aef60790398a53f731db8c8fe (patch)
treec774bb62e0b8ee4b210c5ad4c2d706a346a23efc /include/sound/pcm_oss.h
parent3bf75f9b90c981f18f27a0d35a44f488ab68c8ea (diff)
downloadlinux-060d77b9c04acd7aef60790398a53f731db8c8fe.tar.bz2
[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.h2
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 {
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 {