]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: sparc: Add missing kfree in error path
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 17 Jul 2015 18:33:21 +0000 (20:33 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 17 Jul 2015 20:29:43 +0000 (22:29 +0200)
commit93f5b2302b5b6f2905770bab09992a7a074f728e
treec068a7389a48c94495d6b11ffc47f49361f6661d
parentce69b2856b4323b122f4b74e79a30d1bb2912911
ALSA: sparc: Add missing kfree in error path

If 'of_ioremap' fails, then 'amd' should be freed, otherwise, there is a
memory leak.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/sparc/amd7930.c