diff options
Diffstat (limited to 'sound/core')
-rw-r--r-- | sound/core/seq/seq_midi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/core/seq/seq_midi.c b/sound/core/seq/seq_midi.c index 18247db45db6..57be9155eb62 100644 --- a/sound/core/seq/seq_midi.c +++ b/sound/core/seq/seq_midi.c | |||
@@ -414,6 +414,8 @@ snd_seq_midisynth_register_port(snd_seq_device_t *dev) | |||
414 | if (newclient) | 414 | if (newclient) |
415 | synths[card->number] = client; | 415 | synths[card->number] = client; |
416 | up(®ister_mutex); | 416 | up(®ister_mutex); |
417 | kfree(info); | ||
418 | kfree(port); | ||
417 | return 0; /* success */ | 419 | return 0; /* success */ |
418 | 420 | ||
419 | __nomem: | 421 | __nomem: |