aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorHewenliang <[email protected]>2019-10-25 21:35:55 -0400
committerLorenzo Pieralisi <[email protected]>2019-10-29 12:04:18 +0000
commit3c379a59b4795d7279d38c623e74b9790345a32b (patch)
tree2a64b58bdc3080eae984d7c64c86af8aaa5554b8 /tools/perf/util/trace-event-scripting.c
parent35a82a3795105eb2ccdb206659343d82fefbf51f (diff)
tools: PCI: Fix fd leakage
We should close fd before the return of run_test. Fixes: 3f2ed8134834 ("tools: PCI: Add a userspace tool to test PCI endpoint") Signed-off-by: Hewenliang <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Acked-by: Kishon Vijay Abraham I <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions