2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/drivers/clk/at91
Masanari Iida f63fcc90a3 clk:at91: Fix memory leak in of_at91_clk_master_setup()
cppcheck detected following error
[clk-master.c:245]: (error) Memory leak: characteristics

The original code forgot to free characteristics when
irq_of_parse_and_map() failed.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Acked-by Boris BREZILLON <b.brezillon@overkiz.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
2014-02-26 18:00:56 -08:00
..
clk-main.c clk: at91: add PMC main clock 2013-12-02 15:31:22 +01:00
clk-master.c clk:at91: Fix memory leak in of_at91_clk_master_setup() 2014-02-26 18:00:56 -08:00
clk-peripheral.c clk: at91: add PMC peripheral clocks 2013-12-02 15:31:24 +01:00
clk-pll.c clk: at91: add PMC master clock 2013-12-02 15:31:23 +01:00
clk-plldiv.c clk: at91: add PMC pll clocks 2013-12-02 15:31:22 +01:00
clk-programmable.c clk: at91: add PMC programmable clocks 2013-12-02 15:31:24 +01:00
clk-smd.c clk: at91: add PMC smd clock 2013-12-02 15:31:25 +01:00
clk-system.c clk: at91: add PMC system clocks 2013-12-02 15:31:23 +01:00
clk-usb.c clk: at91: add PMC usb clock 2013-12-02 15:31:25 +01:00
clk-utmi.c clk: at91: add PMC utmi clock 2013-12-02 15:31:25 +01:00
Makefile ARM: at91: remove AT91_PROGRAMMABLE_CLOCKS configuration option 2013-12-12 09:57:42 -08:00
pmc.c Second cleanup pull-request for 3.14: 2014-01-14 15:41:57 -08:00
pmc.h ARM: at91: remove AT91_PROGRAMMABLE_CLOCKS configuration option 2013-12-12 09:57:42 -08:00