clk: si5341: free unused memory on probe failure
Pointers from synth_clock_names[] should be freed at the end of probe either on probe success or failure path. Fixes: b7bbf6ec ("clk: si5341: Allow different output VDD_SEL values") Fixes: 9b13ff43 ("clk: si5341: Add sysfs properties to allow checking/resetting device faults") Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20230530093913.1656095-6-claudiu.beznea@microchip.comSigned-off-by: Stephen Boyd <sboyd@kernel.org>
Showing
Please register or sign in to comment