diff options
author | Jesper Juhl <jj@chaosbits.net> | 2011-07-31 21:16:43 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-08-01 08:57:06 (GMT) |
commit | dc889f18646325d07eb24ef634f082d60b0beebb (patch) | |
tree | b8e5c38980bf8bd88219da923800dfceae6156ef /fs/namespace.c | |
parent | ec2cf68e024b4f66df11683147d63e07db6ee875 (diff) | |
download | linux-dc889f18646325d07eb24ef634f082d60b0beebb.tar.xz |
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/namespace.c')
0 files changed, 0 insertions, 0 deletions