mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
4974259e18
mtk_clk_register_composite() may leak memory due to some error handling path don't free all allocated memory. This patch free all pointers that may allocate memory before error return. And it's safe because kfree() can handle NULL pointers. Signed-off-by: James Liao <jamesjj.liao@mediatek.com> Reviewed-by: Daniel Kurtz <djkurtz@chromium.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> |
||
---|---|---|
.. | ||
clk-apmixed.c | ||
clk-gate.c | ||
clk-gate.h | ||
clk-mt8135.c | ||
clk-mt8173.c | ||
clk-mtk.c | ||
clk-mtk.h | ||
clk-pll.c | ||
Makefile | ||
reset.c |