Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- cli.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/cli.c b/cli.c index 557472e..e1e0a66 100644 --- a/cli.c +++ b/cli.c @@ -687,6 +687,7 @@ int main(int argc, char **argv) break; case 'f': if (input != stdin) { + fclose(input); perror("uci"); return 1; } -- 1.9.1 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel