diff options
| author | Jesper Juhl <[email protected]> | 2011-07-31 21:16:43 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2011-08-01 08:57:06 +0000 |
| commit | dc889f18646325d07eb24ef634f082d60b0beebb (patch) | |
| tree | b8e5c38980bf8bd88219da923800dfceae6156ef /lib/fault-inject.c | |
| parent | ALSA: rtctimer.c needs module.h (diff) | |
| download | kernel-dc889f18646325d07eb24ef634f082d60b0beebb.tar.gz kernel-dc889f18646325d07eb24ef634f082d60b0beebb.zip | |
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 <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
