-
由 Colin Ian King 提交于
Currently if the allocation of ldata fails the error return path does not kfree the allocated links object. Fix this by adding an error exit return path that performs the necessary kfree'ing. Fixes: 7864a79f ("ASoC: meson: add axg sound card support") Signed-off-by: NColin Ian King <colin.king@canonical.com> Addresses-Coverity: ("Resource leak") Link: https://lore.kernel.org/r/20200604171216.60043-1-colin.king@canonical.comSigned-off-by: NMark Brown <broonie@kernel.org>
6e801dc4