Ray Jui 45a481c217 clk: iproc: fix memory leak from clock name
of_property_read_string_index takes array of pointers and assign them to
strings read from device tree property. No additional memory allocation
is needed prior to calling of_property_read_string_index. In fact, since
the array of pointers will be re-assigned to other strings, any memory
that it points to prior to calling of_property_read_string_index will be
leaked

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ray Jui <rjui@broadcom.com>
Fixes: 5fe225c105fd ("clk: iproc: add initial common clock support")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2015-07-02 09:50:26 -07:00
..
2015-06-04 14:27:06 -07:00
2015-06-18 15:44:48 -07:00
2015-06-09 18:14:27 -07:00
2015-06-04 14:27:06 -07:00
2014-07-28 23:30:46 -07:00
2015-05-21 11:55:05 -07:00
2013-05-31 12:07:45 -07:00
2015-04-01 10:59:27 -07:00
2015-04-10 14:44:43 -07:00
2015-05-14 17:11:31 -07:00
2015-06-20 13:29:48 -07:00
2015-06-20 13:29:48 -07:00