Skip to content
Commit 106204b5 authored by Kangjie Lu's avatar Kangjie Lu Committed by Mika Westerberg
Browse files

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: default avatarKangjie Lu <kjlu@umn.edu>
Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
parent 9e98c678
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment