diff options
Diffstat (limited to 'sound/synth')
-rw-r--r-- | sound/synth/emux/emux_effect.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/synth/emux/emux_effect.c b/sound/synth/emux/emux_effect.c index ec3fc1ba7fca..4764940f11a0 100644 --- a/sound/synth/emux/emux_effect.c +++ b/sound/synth/emux/emux_effect.c | |||
@@ -291,10 +291,8 @@ snd_emux_create_effect(snd_emux_port_t *p) | |||
291 | void | 291 | void |
292 | snd_emux_delete_effect(snd_emux_port_t *p) | 292 | snd_emux_delete_effect(snd_emux_port_t *p) |
293 | { | 293 | { |
294 | if (p->effect) { | 294 | kfree(p->effect); |
295 | kfree(p->effect); | 295 | p->effect = NULL; |
296 | p->effect = NULL; | ||
297 | } | ||
298 | } | 296 | } |
299 | 297 | ||
300 | void | 298 | void |