Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers/clk/keystone: avoid a memory leak
In ti_syscon_gate_clk_register, priv is allocated by devm_kzalloc. On the error path, it should be freed before return. Signed-off-by: Yuanjun Gong <ruc_gongyuanjun@163.com>
- Loading branch information