commit | dc889f18646325d07eb24ef634f082d60b0beebb | [log] [tgz] |
---|---|---|
author | Jesper Juhl <jj@chaosbits.net> | Sun Jul 31 23:16:43 2011 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Aug 01 10:57:06 2011 +0200 |
tree | b8e5c38980bf8bd88219da923800dfceae6156ef | |
parent | ec2cf68e024b4f66df11683147d63e07db6ee875 [diff] |
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 <jj@chaosbits.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>