diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-11-10 15:31:49 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-11-10 15:31:49 +0100 |
commit | 2ad1eb5296daea031aa0765caeb86f25c527120a (patch) | |
tree | 198000bf4da3fc6a0a7525cbe8afff3819270ee6 | |
parent | 0e1b863228ad05774a390493087b3901fa82b31b (diff) |
main: fix double free when using multiple -E options
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |