projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7552f34
)
ALSA: cs46xx: Fix memory leak at destructor
author
Takashi Iwai
<tiwai@suse.de>
Wed, 22 Jan 2014 06:44:27 +0000
(07:44 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 22 Jan 2014 06:44:27 +0000
(07:44 +0100)
The release of module object itself was forgotten.
Spotted by COVERIY CID
1162828
.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/cs46xx/cs46xx_lib.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/cs46xx/cs46xx_lib.c
b/sound/pci/cs46xx/cs46xx_lib.c
index f18e5878f58b42a195df536aedde6d80a3897700..062398ec5335f613b2b8e78e49d6374fc98bcdfc 100644
(file)
--- a/
sound/pci/cs46xx/cs46xx_lib.c
+++ b/
sound/pci/cs46xx/cs46xx_lib.c
@@
-369,6
+369,7
@@
static void free_module_desc(struct dsp_module_desc *module)
kfree(module->segments[i].data);
kfree(module->segments);
}
+ kfree(module);
}
/* firmware binary format: