提交 51f633da 编写于 作者: T Takashi Iwai 提交者: Jaroslav Kysela

[ALSA] Fix memory leak

ALSA sequencer
Fixed memory leak by the last change of stack reduction.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册