Commit 51f633da authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela

[ALSA] Fix memory leak

ALSA sequencer
Fixed memory leak by the last change of stack reduction.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent a2142674
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment