From: Jesper Juhl Date: Sun, 31 Jul 2011 21:16:43 +0000 (+0200) Subject: ALSA: asihpi - Don't leak firmware if mem alloc fails X-Git-Tag: v3.1-rc1~87^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc889f18646325d07eb24ef634f082d60b0beebb;p=pandora-kernel.git ALSA: asihpi - Don't leak firmware if mem alloc fails We leak the memory allocated to 'firmware' when we fail to release_firmware() after a kmalloc() failure in hpi_dsp_code_open(). This patch should take care of the leak. Signed-off-by: Jesper Juhl Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed