diff options
Diffstat (limited to 'sound/oss/emu10k1/passthrough.c')
-rw-r--r-- | sound/oss/emu10k1/passthrough.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/oss/emu10k1/passthrough.c b/sound/oss/emu10k1/passthrough.c index 4094be55f3be..4e3baca7d41f 100644 --- a/sound/oss/emu10k1/passthrough.c +++ b/sound/oss/emu10k1/passthrough.c | |||
@@ -213,8 +213,7 @@ void emu10k1_pt_stop(struct emu10k1_card *card) | |||
213 | sblive_writeptr(card, SPCS0 + i, 0, pt->old_spcs[i]); | 213 | sblive_writeptr(card, SPCS0 + i, 0, pt->old_spcs[i]); |
214 | } | 214 | } |
215 | pt->state = PT_STATE_INACTIVE; | 215 | pt->state = PT_STATE_INACTIVE; |
216 | if(pt->buf) | 216 | kfree(pt->buf); |
217 | kfree(pt->buf); | ||
218 | } | 217 | } |
219 | } | 218 | } |
220 | 219 | ||