aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/cpus.py
diff options
context:
space:
mode:
authorRay Jui <[email protected]>2015-06-29 14:30:09 -0700
committerStephen Boyd <[email protected]>2015-07-02 09:50:26 -0700
commit45a481c2176f6acca2efb6477c6018b2c3e3c60f (patch)
treee1e873a19c6e582f1efe0a36fd7444584364c7e7 /scripts/gdb/linux/cpus.py
parent358bdf892f6bfacf20884b54a35ab038321f06f9 (diff)
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 <[email protected]> Signed-off-by: Ray Jui <[email protected]> Fixes: 5fe225c105fd ("clk: iproc: add initial common clock support") Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions