[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:
committed by
Jaroslav Kysela
parent
a2142674b9
commit
51f633dada
@@ -414,6 +414,8 @@ snd_seq_midisynth_register_port(snd_seq_device_t *dev)
|
|||||||
if (newclient)
|
if (newclient)
|
||||||
synths[card->number] = client;
|
synths[card->number] = client;
|
||||||
up(®ister_mutex);
|
up(®ister_mutex);
|
||||||
|
kfree(info);
|
||||||
|
kfree(port);
|
||||||
return 0; /* success */
|
return 0; /* success */
|
||||||
|
|
||||||
__nomem:
|
__nomem:
|
||||||
|
Reference in New Issue
Block a user