OSDN Git Service

clk: versatile: fix memory leak
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Mon, 16 Nov 2015 13:46:40 +0000 (19:16 +0530)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 18 Nov 2015 22:25:48 +0000 (14:25 -0800)
commit47c5ee34d8d913a1ab1ae87544475c136ea25b26
tree1b63b82db2feda3fb5e76335b78b0455753fdbc0
parented12dfc92f01690af65701dbc2839df3524980d3
clk: versatile: fix memory leak

If of_clk_parent_fill() fails then we printed an error message and
returned. But we missed freeing sp810.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/versatile/clk-sp810.c