diff options
author | Luo Yifan <[email protected]> | 2024-11-11 17:17:01 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-11-13 16:27:35 -0300 |
commit | 31bedc1fb1d93250ae1900ee92ccd56689956d22 (patch) | |
tree | d30055058b2643c3bc209ce2b844c845059a907b /tools/perf/scripts/python/parallel-perf.py | |
parent | b81bb703372837a6d6b4cc964b6db58d1dfdba8b (diff) |
libsubcmd: Move va_end() before exit
This patch makes a minor adjustment by moving the va_end call before
exit. Since the exit() function terminates the program, any code
after exit(128) (i.e., va_end(params)) is unreachable and thus not
executed. Placing va_end before exit ensures that the va_list is
properly cleaned up.
Signed-off-by: Luo Yifan <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions