commit | a663e0df4a374b8537562a44d1cecafb472cd65b | [log] [tgz] |
---|---|---|
author | Mika Westerberg <mika.westerberg@linux.intel.com> | Wed Oct 07 17:06:17 2020 +0300 |
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | Thu Nov 05 13:32:40 2020 +0300 |
tree | 5f94ba9fa3752015956340416722f5161c4ef414 | |
parent | 7342ca34d931a357d408aaa25fadd031e46af137 [diff] |
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: 9aabb68568b4 ("thunderbolt: Fix to check return value of ida_simple_get") Cc: stable@vger.kernel.org Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>