Re: [PATCH v3] thunderbolt: Fix to check return value of ida_simple_get

From: Mika Westerberg
Date: Fri Mar 22 2019 - 06:26:59 EST

On Wed, Mar 20, 2019 at 11:34:09AM -0500, Aditya Pakki wrote:
> 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: Aditya Pakki <pakki001@xxxxxxx>

Applied, thanks!