From: Eric Sesterhenn Date: Wed, 12 Apr 2006 10:56:10 +0000 (+0200) Subject: [ALSA] Memory leak in sound/pcmcia/pdaudiocf/pdaudiocf.c X-Git-Tag: v2.6.18-rc2~102^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb6dd2609779e55b34876d75a9092b1a1f513142;p=pandora-kernel.git [ALSA] Memory leak in sound/pcmcia/pdaudiocf/pdaudiocf.c if one of the first three CS_CHECKS fails, we goto cs_failed: In this case parse we donr kfree() parse. Since the the last three CS_CHECKS might also fail, i moved the kfree() below all the CS_CHECKs and added one in the error path. This fixes coverity bug id #1099 Signed-off-by: Eric Sesterhenn Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- Reading git-diff-tree failed