ALSA: cs46xx: Fix memory leak at destructor
PATCH 1/1 ALSA: cs46xx: Fix memory leak at destructor
The release of module object itself was forgotten. Spotted by COVERIY CID 1162828.
Signed-off-by Takashi Iwai <[email protected]>
--- sound/pci/cs46xx/cs46xx_lib.c | 1 + 1 file changed, 1 insertion(+)
sound/pci/cs46xx/cs46xx_lib.c +1 -0
@@ -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:
Signature · 1 line
1.8.5.2