diff options
author | Jesper Juhl <jj@chaosbits.net> | 2011-07-31 23:16:43 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-08-01 10:57:06 +0200 |
commit | dc889f18646325d07eb24ef634f082d60b0beebb (patch) | |
tree | b8e5c38980bf8bd88219da923800dfceae6156ef /fs/stat.c | |
parent | ec2cf68e024b4f66df11683147d63e07db6ee875 (diff) | |
download | op-kernel-dev-dc889f18646325d07eb24ef634f082d60b0beebb.zip op-kernel-dev-dc889f18646325d07eb24ef634f082d60b0beebb.tar.gz |
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>
Diffstat (limited to 'fs/stat.c')
0 files changed, 0 insertions, 0 deletions