commit | b75b1518a5e76f76324b371b9b0013b8e79e88ea | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Jan 22 07:44:27 2014 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Jan 22 07:44:27 2014 +0100 |
tree | 35cb00613b158f1600b5f990adf7d75e4104f117 | |
parent | 7552f34a790069a008bd3e2ab4c0954b30c2f63b [diff] |
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>
diff --git a/sound/pci/cs46xx/cs46xx_lib.c b/sound/pci/cs46xx/cs46xx_lib.c index f18e587..062398e 100644 --- a/sound/pci/cs46xx/cs46xx_lib.c +++ b/sound/pci/cs46xx/cs46xx_lib.c
@@ -369,6 +369,7 @@ kfree(module->segments[i].data); kfree(module->segments); } + kfree(module); } /* firmware binary format: