aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-09-20 16:30:31 +0300
committerBartosz Golaszewski <[email protected]>2022-09-20 16:07:15 +0200
commit02743c4091ccfb246f5cdbbe3f44b152d5d12933 (patch)
treecd5c6b0a4d074f741e07153419cd4e737a892266 /tools/perf/util/trace-event-scripting.c
parentb7df41a6f79dfb18ba2203f8c5f0e9c0b9b57f68 (diff)
gpio: mockup: Fix potential resource leakage when register a chip
If creation of software node fails, the locally allocated string array is left unfreed. Free it on error path. Fixes: 6fda593f3082 ("gpio: mockup: Convert to use software nodes") Cc: [email protected] Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions