[ALSA] Fix memory leak

ALSA sequencer
Fixed memory leak by the last change of stack reduction.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai 2005-03-30 13:49:06 +02:00 committed by Jaroslav Kysela
parent a2142674b9
commit 51f633dada

View File

@ -414,6 +414,8 @@ snd_seq_midisynth_register_port(snd_seq_device_t *dev)
if (newclient)
synths[card->number] = client;
up(&register_mutex);
kfree(info);
kfree(port);
return 0; /* success */
__nomem: