projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a214267
)
[ALSA] Fix memory leak
author
Takashi Iwai
<tiwai@suse.de>
Wed, 30 Mar 2005 11:49:06 +0000
(13:49 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Sun, 29 May 2005 07:00:37 +0000
(09:00 +0200)
ALSA sequencer
Fixed memory leak by the last change of stack reduction.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/seq/seq_midi.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/core/seq/seq_midi.c
b/sound/core/seq/seq_midi.c
index 18247db45db65d501040eacb4dcf74c2a6b76e6e..57be9155eb622854f97c4f85cacc1c3a259fb566 100644
(file)
--- a/
sound/core/seq/seq_midi.c
+++ b/
sound/core/seq/seq_midi.c
@@
-414,6
+414,8
@@
snd_seq_midisynth_register_port(snd_seq_device_t *dev)
if (newclient)
synths[card->number] = client;
up(®ister_mutex);
+ kfree(info);
+ kfree(port);
return 0; /* success */
__nomem: