diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-11-23 16:38:48 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-11-23 11:29:12 +0000 |
commit | 87b5ed8ecb9fe05a696e1c0b53c7a49ea66432c1 (patch) | |
tree | c3dce42bfba51b4d06dd439af81bc0f5e5077328 /sound | |
parent | 4b6295b238cf0fe0841675816be0998345d5990a (diff) | |
download | linux-87b5ed8ecb9fe05a696e1c0b53c7a49ea66432c1.tar.bz2 |
ASoC: Intel: Skylake: fix memory leak
We have requested the firmware but missed releasing it.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/intel/skylake/skl-topology.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-topology.c b/sound/soc/intel/skylake/skl-topology.c index a7854c8fc523..ffea427aeca8 100644 --- a/sound/soc/intel/skylake/skl-topology.c +++ b/sound/soc/intel/skylake/skl-topology.c @@ -1240,6 +1240,7 @@ int skl_tplg_init(struct snd_soc_platform *platform, struct hdac_ext_bus *ebus) */ ret = snd_soc_tplg_component_load(&platform->component, &skl_tplg_ops, fw, 0); + release_firmware(fw); if (ret < 0) { dev_err(bus->dev, "tplg component load failed%d\n", ret); return -EINVAL; |