git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'devicetree-fixes-for-6.5-1' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git]
/
sound
/
core
/
seq
/
seq_ports.c
diff --git
a/sound/core/seq/seq_ports.c
b/sound/core/seq/seq_ports.c
index 9b80f8275026be9f7ace11ac14e1f8278a43a91c..f3f14ff0f80f0c533e7f9df37929d6d88cb21470 100644
(file)
--- a/
sound/core/seq/seq_ports.c
+++ b/
sound/core/seq/seq_ports.c
@@
-149,6
+149,7
@@
int snd_seq_create_port(struct snd_seq_client *client, int port,
write_lock_irq(&client->ports_lock);
list_for_each_entry(p, &client->ports_list_head, list) {
if (p->addr.port == port) {
+ kfree(new_port);
num = -EBUSY;
goto unlock;
}