diff options
author | Dan Carpenter <[email protected]> | 2024-03-21 17:42:12 +0300 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2024-04-03 09:15:18 -0700 |
commit | 90ca6956d3834db4060f87700e2fcbb699c4e4fd (patch) | |
tree | bff0a206bdcf36e1d1acfcb8931c9aefb32aa455 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 0a6380cb4c6b5c1d6dad226ba3130f9090f0ccea (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/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions