lkml.org 
[lkml]   [2019]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] thunderbolt: Fix to check return value of ida_simple_get
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@umn.edu>

Applied, thanks!

\
 
 \ /
  Last update: 2019-03-22 11:27    [W:0.026 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site