Re: [PATCH 2/2 infiniband-diags] ibqueryerrors: Resource leak in path_record_query

2015-04-22 Thread ira.weiny
On Tue, Apr 21, 2015 at 08:15:12AM -0400, Hal Rosenstock wrote: > From: Vladimir Koushnir > Date: Thu Apr 16 16:39:43 2015 +0300 > > sa_free_handle function is not called at the end of > path_record_query function. > The patch fixes file descriptor leak when path_record_query > function is ca

Re: [PATCH 2/2 infiniband-diags] ibqueryerrors: Resource leak in path_record_query

2015-04-22 Thread ira.weiny
On Tue, Apr 21, 2015 at 08:15:12AM -0400, Hal Rosenstock wrote: > From: Vladimir Koushnir > Date: Thu Apr 16 16:39:43 2015 +0300 > > sa_free_handle function is not called at the end of > path_record_query function. > The patch fixes file descriptor leak when path_record_query > function is ca

[PATCH 2/2 infiniband-diags] ibqueryerrors: Resource leak in path_record_query

2015-04-21 Thread Hal Rosenstock
From: Vladimir Koushnir Date: Thu Apr 16 16:39:43 2015 +0300 sa_free_handle function is not called at the end of path_record_query function. The patch fixes file descriptor leak when path_record_query function is called. Signed-off-by: Vladimir Koushnir Signed-off-by: Hal Rosenstock --