summaryrefslogtreecommitdiffhomepage
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 78d218f..49fb2cc 100644
--- a/main.c
+++ b/main.c
@@ -364,6 +364,8 @@ main(int argc, char **argv)
fclose(envfile);
+ envfile = NULL;
+
if (!o) {
fprintf(stderr, "Option -%c must point to a valid JSON object\n", opt);
rv = 1;