Browse Source

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 <tiwai@suse.de>
isee-imx_3.14.28.y
Takashi Iwai 7 years ago
parent
commit
b75b1518a5
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      sound/pci/cs46xx/cs46xx_lib.c

+ 1
- 0
sound/pci/cs46xx/cs46xx_lib.c View File

@ -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:


Loading…
Cancel
Save