mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
[ALSA] Fix memory leak
ALSA sequencer Fixed memory leak by the last change of stack reduction. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
a2142674b9
commit
51f633dada
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user