@pll->rate_table has allocated memory by kmemdup(), if clk_hw_register()
fails, it should be freed, otherwise it will cause memory leak issue,
this patch fixes it.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| clkc-tmpv770x.c | ||
| clkc.c | ||
| clkc.h | ||
| pll-tmpv770x.c | ||
| pll.c | ||
| pll.h | ||
| reset.c | ||
| reset.h | ||