diff options
author | Kangjie Lu <kjlu@umn.edu> | 2019-03-12 11:33:28 +0300 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2019-03-20 13:37:12 +0300 |
commit | 106204b56f60abf1bead7dceb88f2be3e34433da (patch) | |
tree | 6ee50978ea524c4ff0b5b0ef25772f93a78a8b35 /init | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff) | |
download | linux-106204b56f60abf1bead7dceb88f2be3e34433da.tar.xz |
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 <kjlu@umn.edu>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions