diff options
| author | Kangjie Lu <[email protected]> | 2019-03-12 03:33:28 -0500 |
|---|---|---|
| committer | Mika Westerberg <[email protected]> | 2019-03-20 13:37:12 +0300 |
| commit | 106204b56f60abf1bead7dceb88f2be3e34433da (patch) | |
| tree | 6ee50978ea524c4ff0b5b0ef25772f93a78a8b35 /tools/perf/scripts/python/bin | |
| parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff) | |
thunderbolt: property: Fix a NULL pointer dereference
In case kzalloc fails, the fix releases resources and returns
-ENOMEM to avoid the NULL pointer dereference.
Signed-off-by: Kangjie Lu <[email protected]>
Signed-off-by: Mika Westerberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions