commit | cb6dd2609779e55b34876d75a9092b1a1f513142 | [log] [tgz] |
---|---|---|
author | Eric Sesterhenn <snakebyte@gmx.de> | Wed Apr 12 12:56:10 2006 +0200 |
committer | Jaroslav Kysela <perex@suse.cz> | Wed Jul 12 20:07:23 2006 +0200 |
tree | a61061cf2d4be2e55cdf04ba6378e68cff8e5a46 | |
parent | b2d6744849b5bf6b4593b81c136772df7a238ac9 [diff] |
[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 <snakebyte@gmx.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>