projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc5954f
)
ASoC: wm8904 - fix memory leaks
author
Axel Lin
<axel.lin@gmail.com>
Tue, 23 Nov 2010 07:57:49 +0000
(15:57 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Tue, 23 Nov 2010 14:30:00 +0000
(14:30 +0000)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8904.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8904.c
b/sound/soc/codecs/wm8904.c
index 33be84e506ea7d4e2927a4e44a06e49ab648f156..fca60a0b57b83a807a946b86576093237b090f1f 100644
(file)
--- a/
sound/soc/codecs/wm8904.c
+++ b/
sound/soc/codecs/wm8904.c
@@
-2498,6
+2498,8
@@
static int wm8904_remove(struct snd_soc_codec *codec)
wm8904_set_bias_level(codec, SND_SOC_BIAS_OFF);
regulator_bulk_free(ARRAY_SIZE(wm8904->supplies), wm8904->supplies);
+ kfree(wm8904->retune_mobile_texts);
+ kfree(wm8904->drc_texts);
return 0;
}