diff options
author | 2018-08-03 08:42:11 -0500 | |
---|---|---|
committer | 2018-08-03 15:46:34 +0100 | |
commit | 8530ebf1079ccc84ffa32d970cdcae168b2f3684 (patch) | |
tree | ecb7b0ace7ce53e1454f58b89c87cfd3203e624f /include/linux/compiler-gcc.h | |
parent | ASoC: Intel: bxt: Use refcap device for mono recording (diff) | |
download | wireguard-linux-8530ebf1079ccc84ffa32d970cdcae168b2f3684.tar.xz wireguard-linux-8530ebf1079ccc84ffa32d970cdcae168b2f3684.zip |
ASoC: smd845: fix memory leak
In case memory resources for *card* were allocated, release them before
return.
Addresses-Coverity-ID: 1472244 ("Resource leak")
Fixes: 6b1687bf76ef ("ASoC: qcom: add sdm845 sound card support")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions