aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAkinobu Mita <[email protected]>2018-03-19 12:14:17 -0400
committerMauro Carvalho Chehab <[email protected]>2018-04-04 06:12:53 -0400
commit06fe932307d58108a11c3e603517dd2a73a57b80 (patch)
tree018c2b09db2f4423e61cab95c63be6578e0746e8 /tools/perf/util/scripting-engines/trace-event-python.c
parente6441fde848737c54bd3fdcb273c3a85ff66f14e (diff)
media: ov5645: add missing of_node_put() in error path
The device node obtained with of_graph_get_next_endpoint() should be released by calling of_node_put(). But it was not released when v4l2_fwnode_endpoint_parse() failed. This change moves the of_node_put() call before the error check and fixes the issue. Cc: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Akinobu Mita <[email protected]> Acked-by: Todor Tomov <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions