mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
clk: tegra: tegra124-emc: Fix potential memory leak
[ Upstream commit53a06e5924] The tegra and tegra needs to be freed in the error handling path, otherwise it will be leaked. Fixes:2db04f16b5("clk: tegra: Add EMC clock driver") Signed-off-by: Yuan Can <yuancan@huawei.com> Link: https://lore.kernel.org/r/20221209094124.71043-1-yuancan@huawei.com Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
2f276dd9c0
commit
fd1c117bb5
1 changed files with 2 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue