mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
clk: rockchip: free memory in error cases when registering clock branches
commit2467b6745eupstream. Add free memeory if rockchip_clk_register_branch fails. Fixes:a245fecbb8("clk: rockchip: add basic infrastructure...") Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e6ce6ce062
commit
c7ea1f7642
1 changed files with 7 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue