diff options
author | Sanidhya Kashyap <[email protected]> | 2015-04-16 12:48:26 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-04-17 09:04:09 -0400 |
commit | c8f33d0bec999a4f2b5c3f9380361b88ce6f6ab0 (patch) | |
tree | 7f5ff253261b35a918b9223e21ac9cf5cdc3814c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 79bda4d510f80e403ef66fee852f8ccb17308581 (diff) |
affs: kstrdup() memory handling
There is a possibility of kstrdup() failure upon memory pressure.
Therefore, returning ENOMEM even for new_opts.
[[email protected]: cleanup]
Signed-off-by: Sanidhya Kashyap <[email protected]>
Cc: Taesoo kim <[email protected]>
Cc: Fabian Frederick <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions