kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 950977f2be45dbba20c0261c6c4dcc821a4c7b9b
parent 7eced6f035c83c02680d9b58371851f8662a0e8a
Author: Tobias Kortkamp <t6@users.noreply.github.com>
Date:   Thu,  1 Dec 2016 09:01:51 +0100

Fix fd leak in cli_buildopt_parse() (#156)

The build.conf file is left open when using kore run.
Diffstat:
src/cli.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/cli.c b/src/cli.c @@ -1307,6 +1307,8 @@ parse_option: printf("ignoring unknown option '%s'\n", p); } } + + fclose(fp); } static struct buildopt *