diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2016-08-16 13:24:46 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-08-16 13:52:31 +0300 |
commit | b0f12c61de013ecb0abe19d5e64bdab45989de5a (patch) | |
tree | 3eeb6097e290b8103cc6dd738796eb09630b39c9 /lib/mpi/mpiutil.c | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc (diff) | |
download | linux-b0f12c61de013ecb0abe19d5e64bdab45989de5a.tar.xz |
ASoC: compress: Fix leak of a widget list in soc_compr_open_fe
After we have called dpcm_path_get we should make sure to call
dpcm_path_put on all error paths. This was not happening causing the
allocated widget list to be leaked, this patch corrects this by adding a
dpcm_path_put to the error path.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions