aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNishka Dasgupta <[email protected]>2019-07-09 14:26:40 -0300
committerMauro Carvalho Chehab <[email protected]>2019-08-13 11:50:04 -0300
commit2dbfc6525046122f35bf5c244c22551fb5566761 (patch)
treee967b2c30669ab7fbfec9825d6cd7f114183b28e /tools/perf/scripts/python
parent22ff7d4ca3f748e3b685fd2385afda18b9fa0258 (diff)
media: i2c: tvp5150: Add of_node_put() before goto
Each iteration of for_each_available_child_of_node puts the previous node, but in the case of a goto from the middle of the loop, there is no put, thus causing a memory leak. Hence add an of_node_put before the goto in four places. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions