I just ran the static analysis checker "cppcheck" over the source code of the 3.10-rc6. It said [linux-3.10-rc6/drivers/clk/sunxi/clk-sunxi.c:52]: (error) Memory leak: fixed [linux-3.10-rc6/drivers/clk/sunxi/clk-sunxi.c:52]: (error) Memory leak: gate Source code is if (of_property_read_u32(node, "clock-frequency", &rate)) return; Suggest new code if (of_property_read_u32(node, "clock-frequency", &rate)) { kfree(fixed); kfree(gate); return; }
Send it patch today to maintainers with the code fixed as stated here. Cheers Nick
>Send it patch today to maintainers with the code fixed as stated here. Too late. Bug long since fixed.