commit | 51f633dada113ef724a145bb5b33ec77d1b092f6 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Mar 30 13:49:06 2005 +0200 |
committer | Jaroslav Kysela <perex@suse.cz> | Sun May 29 09:00:37 2005 +0200 |
tree | 12f83d7c673ec3102bd3c93e21bdb043c9dd5db8 | |
parent | a2142674b958d89e0806228a5f6cd22ec379d61d [diff] [blame] |
[ALSA] Fix memory leak ALSA sequencer Fixed memory leak by the last change of stack reduction. Signed-off-by: Takashi Iwai <tiwai@suse.de>
diff --git a/sound/core/seq/seq_midi.c b/sound/core/seq/seq_midi.c index 18247db..57be915 100644 --- a/sound/core/seq/seq_midi.c +++ b/sound/core/seq/seq_midi.c
@@ -414,6 +414,8 @@ if (newclient) synths[card->number] = client; up(®ister_mutex); + kfree(info); + kfree(port); return 0; /* success */ __nomem: