Re: [PATCH] Close config file handle if the entry to unset is not found

2015-08-14 Thread Sven Strickroth
Am 14.08.2015 um 21:35 schrieb Eric Sunshine: Signed-off-by: Sup Yut Sum ch3co...@gmail.com Signed-off-by: Sven Strickroth em...@cs-ware.de --- diff --git a/config.c b/config.c index 9fd275f..89b49e3 100644 --- a/config.c +++ b/config.c @@ -2048,6 +2048,7 @@ int

[PATCH] Close config file handle if the entry to unset is not found

2015-08-14 Thread Sven Strickroth
Without this patch there might be open handle leaks. Signed-off-by: Sup Yut Sum ch3co...@gmail.com Signed-off-by: Sven Strickroth em...@cs-ware.de --- config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/config.c b/config.c index 9fd275f..89b49e3 100644 --- a/config.c +++ b/config.c @@

Re: [PATCH] Close config file handle if the entry to unset is not found

2015-08-14 Thread Eric Sunshine
On Fri, Aug 14, 2015 at 3:18 PM, Sven Strickroth s...@cs-ware.de wrote: Without this patch there might be open handle leaks. Thanks for the patch. A question below... Signed-off-by: Sup Yut Sum ch3co...@gmail.com Signed-off-by: Sven Strickroth em...@cs-ware.de --- diff --git a/config.c