Re: [PATCH] contrib/plugins: Close file descriptor on connect failure

2023-10-23 Thread Alex Bennée
Cong Liu writes: > This patch closes the file descriptor fd on connect failure to avoid > resource leak. > > Signed-off-by: Cong Liu > --- > contrib/plugins/lockstep.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/contrib/plugins/lockstep.c b/contrib/plugins/lockstep.c > index f0cb

[PATCH] contrib/plugins: Close file descriptor on connect failure

2023-10-16 Thread Cong Liu
This patch closes the file descriptor fd on connect failure to avoid resource leak. Signed-off-by: Cong Liu --- contrib/plugins/lockstep.c | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/plugins/lockstep.c b/contrib/plugins/lockstep.c index f0cb8792c6fa..3c0f2b485181 100644 --- a/con