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 >> Signed-off-by: Sven Strickroth >> --- >> diff --git a/config.c b/config.c >> index 9fd275f..89b49e3 100644 >> --- a/config.c >> +++ b/config.c >> @@ -2048,6 +2048,7 @@ int git_config_set_multivar_in_file(const char >>

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 wrote: > Without this patch there might be open handle leaks. Thanks for the patch. A question below... > Signed-off-by: Sup Yut Sum > Signed-off-by: Sven Strickroth > --- > diff --git a/config.c b/config.c > index 9fd275f..89b49e3 100644 > ---

[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 Signed-off-by: Sven Strickroth --- 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 @@ -2048,6 +2048,7 @@ int git_config_se