diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2020-10-07 16:06:17 +0200 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2020-11-05 11:32:40 +0100 |
commit | a663e0df4a374b8537562a44d1cecafb472cd65b (patch) | |
tree | 5f94ba9fa3752015956340416722f5161c4ef414 /drivers/thunderbolt/debugfs.c | |
parent | thunderbolt: Add the missed ida_simple_remove() in ring_request_msix() (diff) | |
download | linux-a663e0df4a374b8537562a44d1cecafb472cd65b.tar.xz linux-a663e0df4a374b8537562a44d1cecafb472cd65b.zip |
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>
Diffstat (limited to 'drivers/thunderbolt/debugfs.c')
0 files changed, 0 insertions, 0 deletions