Skip to content
Commit 057849cc authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: seq: Fix memory leak at error path in snd_seq_create_port()

We forgot to release a newly allocated item at the error path in
snd_seq_create_port().  This patch fixes it.

Fixes: 7c3f0d3d

 ("ALSA: seq: Check the conflicting port at port creation")
Reported-by: default avatar <syzbot+cf8e7fa4eeec59b3d485@syzkaller.appspotmail.com>
Closes: https://lore.kernel.org/r/00000000000098ed3a0600965f89@google.com
Link: https://lore.kernel.org/r/20230717062555.31592-1-tiwai@suse.de
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent b2cb84d7
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