aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2024-03-21 17:42:12 +0300
committerTony Nguyen <[email protected]>2024-04-03 09:15:18 -0700
commit90ca6956d3834db4060f87700e2fcbb699c4e4fd (patch)
treebff0a206bdcf36e1d1acfcb8931c9aefb32aa455 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent0a6380cb4c6b5c1d6dad226ba3130f9090f0ccea (diff)
ice: Fix freeing uninitialized pointers
Automatically cleaned up pointers need to be initialized before exiting their scope. In this case, they need to be initialized to NULL before any return statement. Fixes: 90f821d72e11 ("ice: avoid unnecessary devm_ usage") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions