Fix fd leak in cli_buildopt_parse() (#156)

The build.conf file is left open when using kore run.
This commit is contained in:
Tobias Kortkamp 2016-12-01 09:01:51 +01:00 committed by Joris Vink
parent 7eced6f035
commit 950977f2be

View File

@ -1307,6 +1307,8 @@ parse_option:
printf("ignoring unknown option '%s'\n", p);
}
}
fclose(fp);
}
static struct buildopt *