diff options
author | Zhu Jun <[email protected]> | 2024-08-28 02:31:29 -0700 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2024-09-03 18:49:44 +0100 |
commit | 3c6b818b097dd6932859bcc3d6722a74ec5931c1 (patch) | |
tree | 1867b2ebc7a793dcfcefc31466ac4302884e9256 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | da83fd152e544c2222b2e098a3ce0f704617eb24 (diff) |
tools/iio: Add memory allocation failure check for trigger_name
Added a check to handle memory allocation failure for `trigger_name`
and return `-ENOMEM`.
Signed-off-by: Zhu Jun <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions