Skip to content
Commit 9aabb685 authored by Aditya Pakki's avatar Aditya Pakki Committed by Mika Westerberg
Browse files

thunderbolt: Fix to check return value of ida_simple_get



In enumerate_services, ida_simple_get on failure can return an error and
leaks memory. The patch ensures that the dev_set_name is set on non
failure cases, and releases memory during failure.

Signed-off-by: default avatarAditya Pakki <pakki001@umn.edu>
Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
parent 2cc12751
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