diff options
Diffstat (limited to 'sound/pci/ca0106/ca0106_main.c')
-rw-r--r-- | sound/pci/ca0106/ca0106_main.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sound/pci/ca0106/ca0106_main.c b/sound/pci/ca0106/ca0106_main.c index 85caf1bbcc11..0ec0c3ec220b 100644 --- a/sound/pci/ca0106/ca0106_main.c +++ b/sound/pci/ca0106/ca0106_main.c | |||
@@ -332,11 +332,7 @@ static void snd_ca0106_intr_enable(ca0106_t *emu, unsigned int intrenb) | |||
332 | 332 | ||
333 | static void snd_ca0106_pcm_free_substream(snd_pcm_runtime_t *runtime) | 333 | static void snd_ca0106_pcm_free_substream(snd_pcm_runtime_t *runtime) |
334 | { | 334 | { |
335 | ca0106_pcm_t *epcm = runtime->private_data; | 335 | kfree(runtime->private_data); |
336 | |||
337 | if (epcm) { | ||
338 | kfree(epcm); | ||
339 | } | ||
340 | } | 336 | } |
341 | 337 | ||
342 | /* open_playback callback */ | 338 | /* open_playback callback */ |