[ALSA] fix some memory leaks
Modules: Generic drivers,ES18xx driver,CS46xx driver This patch fixes two memory leaks spotted by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:

gecommit door
Jaroslav Kysela

bovenliggende
3e964432f5
commit
202728d783
@@ -789,6 +789,7 @@ static int __init snd_uart16550_create(struct snd_card *card,
|
||||
|
||||
if ((err = snd_uart16550_detect(uart)) <= 0) {
|
||||
printk(KERN_ERR "no UART detected at 0x%lx\n", iobase);
|
||||
snd_uart16550_free(uart);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
|
Verwijs in nieuw issue
Block a user