Skip to content
Commit a663e0df authored by Mika Westerberg's avatar Mika Westerberg
Browse files

thunderbolt: Fix memory leak if ida_simple_get() fails in enumerate_services()



The svc->key field is not released as it should be if ida_simple_get()
fails so fix that.

Fixes: 9aabb685 ("thunderbolt: Fix to check return value of ida_simple_get")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
parent 7342ca34
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment